/glucose-prediction

Primary LanguagePythonMIT LicenseMIT

Glucose Prediction

NN Template Python Code style: black

Glucose Prediction using Replace-BG Dataset

Installation

pip install git+ssh://git@github.com/rtaiello/glucose-prediction.git

Quickstart

  • Download REPLACE-BG-Dataset.zip from this link;
  • unzip it and move HDeviceBolus.txt, HDeviceCGM.txt and HDeviceWizard.txt to data/original folder;
  • Run preprocessing notebook, preprocessing.ipynb

Development installation

Setup the development environment:

git clone git@github.com:rtaiello/glucose-prediction.git
cd glucose-prediction
conda env create -f env.yaml
conda activate glucose-prediction
pre-commit install

Run the tests:

pre-commit run --all-files
pytest -v

Update the dependencies

Re-install the project in edit mode:

pip install -e .[dev]