Tools for creating cohorts and features, training and deploying models using electronic medical record data.
-
Clone the repo
git clone https://github.com/HealthRex/deployr-dev.git -
Create a new environment, note python version
conda create -n healthrex_ml python=3.7.6 -
Activate new env
conda activate healthrex_ml -
Install healthrex_ml
pip install -e . -
Install dependencies
pip install -r requirements.txt -
Install lightbm (with conda)
conda install lightgbm=3.1.1
Cohort definitions for various supervised ml tasks
Grab features from our bq projects
Transform features grabbed by extractors
Define models
Train models
Pytorch datasets