ml4ai / ASKEM-TA1-SKEMA-Demo-2022-12

Repository for the ASKEM SKEMA Dec 2022 Demo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

ASKEM TA-1 SKEMA Demo for December 2022

Install

  1. Recommend creating a python virtual environment

    python -m venv <venv_name>

    Activate the venv.

  2. Clone the automates repository: https://github.com/ml4ai/automates

    git clone https://github.com/ml4ai/automates.git

  3. While in the activated venv, pip install automates: cd into the root of the automates respository and run:

    pip install -e .

  4. Clone the skema repository: https://github.com/ml4ai/skema

    git clone https://github.com/ml4ai/skema.git

  5. While in the activated venv, pip install skema: cd into the root of the skema repository and run:

    pip install -e .

  6. Ensure you have a copy of the following directories under the ASKEM-SKEMA/data google drive:

    • resources/tr/
    • epidemiology/CHIME/CHIME_penn_full_model/

    You will update your local paths to these directories in the demo/skema-demo-2022-Dec.ipynb jupyter notebook.

Run Demo

  1. Start the SKEMA Server:
  • cd to <skema>/skema/skema/skema-rs/
  • docker-compose -f docker-compose.memgraph.yml up --build -d
  • cargo run --bin skema_service
  1. Launch the demo python notebook:
    <ASKEM-TA1-SKEMA-Demo-2022-12>/demo/skema-demo-2022-Dec.ipynb
    and work through sequentially.

About

Repository for the ASKEM SKEMA Dec 2022 Demo