News for hackers. Stuff that matters.
Re:Show HN: I have trained 15 blood glucose forecasting mode... by 0xdeadf1sh on Wednesday November 11, 2026 @08:15AM (#50453035)
Carbohydrates & insulin are both accounted for during inference. I'm not sure if that's what you meant by dietary info though.
Re:Show HN: I have trained 15 blood glucose forecasting mode... by andrewchilds on Saturday November 14, 2026 @08:06AM (#50496725)
I spent a long time trying to build predictive models that use complete and accurate carbs/protein/fat macronutrient data as well as insulin delivery. I found that there were enough non-linearities and other unmodelable factors at work in the BG data that led to very poor predictive ability. Considering protein & fat had a nil-to-negative effect on the models.

It's possible that accounting for heart rate as well as carbs & insulin might have better results, with enough data.

0xdeadf1sh: good luck with your quest!

Re:Show HN: I have trained 15 blood glucose forecasting mode... by 0xdeadf1sh on Saturday November 14, 2026 @08:24AM (#50496829)
Yeah I was using the macro-nutrient approach as well, but then switched to simply providing GI (glycemic index) alongside the carbs in grams and found out that there was practically no difference between the two.

During training I artificially wobble the carb amounts so they are more like guesstimates than true carbs. This also partially fixed the quantile bands (before that they were too narrow).