Hacker News new | ask | show | jobs
by ekg2 25 days ago
cool to find this project. I'm implementing literally the same thing recently. I'm using exact same insulins. My setup is a bit different and a bit behind you in terms of model quality. I run pretrained models on raspberry pi, so raspberry acts as server. I use dexcom, garmin mcp to gather all data. Android phone acts as dumb client. I have create a custom app to log carbs, insulin injections, predict insulin doses from a food photo. There are also some nighty jobs to recalculate insulin sensitivity, retrain model, generate daily report. I started logging carbs and insulin doses few weeks ago, so currently there is not enough personal data to train prediction model. I use oref0 algorithm for predictions currently. As a starting point i have created prediction model solely on glucose values. Training on other people data, did not helped me to make predictions accurate.
2 comments

I also didn't have enough personal data to train on (transformers are very data-hungry), so I created a huge synthetic dataset to help me with that. I use that for pretraining and then plug in a LoRA that got trained using my personal data.
Idk who flagged/downvoted you, T1D requires all the help it can get (and then some) - even if it's AI - so I vouched for your comment.

Do you have a GitHub repo or something btw?