RobotPsychologist / bg_control

Improving short-term prandial blood glucose outcomes for people with type 1 diabetes, a complex disease that affects nearly 10 million people worldwide. We aim to leverage semi-supervised learning to identify unlabelled meals in time-series blood glucose data, develop meal-scoring functions, and explore causal machine-learning techniques.
https://blood-glucose-control.streamlit.app/
18 stars 42 forks source link

Model Development - Training Pipeline Script #92

Open RobotPsychologist opened 1 month ago

RobotPsychologist commented 1 month ago

Training Pipeline Script

Code Location: /bg_control/0_meal_identification/meal_identification/meal_identification/modeling/train.py

Requirements:

  1. A model instantiation function that can take a variety of parameter settings.
    1. This function should serve as a hyperparameter training loop: loads the specified dataset, the train_test split, the model choice, the model hyperparameter settings, and perform the fit, test predict, and error calculation.
    2. The function should also write the training runs training logs to models/training_logs directory.
  2. A model loading function that can load a model from 0_meal_identification/meal_identification/models
    1. The model should be loadable either fitting or predicting new data
  3. A model storing function that stores the trained models in 0_meal_identification/meal_identification/models

Useful Resources:

andytubeee commented 2 weeks ago

Interested

NathanL15 commented 2 weeks ago

interested

jogong2718 commented 2 weeks ago

interested

paulpark6 commented 2 weeks ago

Interested