I have trained a model to predict my blood sugar
Get picks like this daily. Today's launch numbers, the top launches, AI and tech news, and a daily opportunity pick, straight to your inbox.
Want to reach these readers? Sponsor an issue.
I have trained a custom 31,253 parameter encoder-only transformer on a pregenerated synthetic CGM dataset and fitted it to my own personal data using LoRA. It is competitive among other published models. I used 115 days of CGM data, of which 80 was used for training the adapter and 35 for testing. The model began with a pretraining stage where it consumed ~19,200 CGM-years worth of synthetic data, consisting of 1 million simulated type 1 diabetics at 7 days each. The simulator is designed to aid in counterfactual reasoning, but I don't yet have a benchmark to test these capabilities downstream. Simply using these models on my phone gives me the impression that they do indeed react appropriately when forced to consider future insulin & carbs.In addition to time series input, two additional inputs are provided: insulin (U) and carbs (G, GI) as action curves where U = units of insulin, G = carbs in grams, GI = glycemic index. U is exact, while (G, GI) is my best estimate.The model is trained to output BG in Kovatchev risk-space using {DILATE,MSE} and pinball loss combined with learned Kendall-Gal weights. The figures above show models trained using DILATE. It can predict 2 hours into the future, infill missing traces, and do backcasts (predictions into the past).The model is also trained to predict time-of-day given past blood sugar, in contrast to other models that consume time-of-day as input feature. This capability emerges in >=48h context windows (i.e. 48 hours of past CGM trace). Natively the model has a variable context window size of 3.5 - 7.0 days.The model is still worse than me when it comes to predicting hypoglycemia in the next ~30 minutes.
HN · launched Nov 13, 2026 · 5 upvotes (top 86%) · 0 views
Niche: personal health and medication tracking apps · 243 launches, 27 in the last 7 days ▲ +4% · Explore this niche →
Category and tags
- Healthcare
- Analytics & BI
- Prosumer
- AI-native
- Hobby / open-source project
Visit website ↗ Source listing ↗
More like this: all 243 launches in personal health and medication tracking apps →
Could you build this?
Partial The transformer and LoRA pipeline is codeable with AI help, but the hard parts are obtaining substantial personal CGM data and getting clinically useful, validated accuracy, which requires ML and medical-data expertise.
What it would actually take: Use an open CGM dataset or your own sensor exports, train a small encoder-only transformer on synthetic or public glucose traces, then fine-tune an adapter on personal data. The difficulty lies in data quality and volume, honest out-of-sample evaluation against published baselines, and any health-facing use, which needs ML rigor and clinical validation.
Discussion
2 comments analyzed.
Concerns raised: models much worse at predicting hypoglycemia than hyperglycemia, model less accurate than users at predicting blood sugar lows
Competitors
Other products that read as similar to this one : 137 launches clear the similarity bar, closest 8 shown.
Attention rank: #123 of 138 (itself plus its competitors, highest first, normalized so YC and Product Hunt are compared fairly).
Launched 372 days after the earliest competitor.
- I have trained 15 blood glucose forecasting models on my own data · hn · 2026-11-10 · 84 upvotes · similarity 0.60
- Lean bulk, cut, body recomp. Calculate maintenance calories · hn · 2026-06-21 · 28 upvotes · similarity 0.48
- GlycemicGPT · hn · 2026-05-15 · 64 upvotes · similarity 0.46
- Gluna · ph · 2026-10-03 · 1 upvotes · similarity 0.44
- MetLens · ph · 2026-11-03 · 1 upvotes · similarity 0.44
- Glux · ph · 2026-09-20 · 2 upvotes · similarity 0.42
- Diabetes-Data-Analysis-and-Classification · github · 2026-09-23 · 7 upvotes · similarity 0.42
- GLP-1 Weight Loss Timeline Calculator · ph · 2026-09-25 · 2 upvotes · similarity 0.41
The niche, labels, vibe code rating and competitor comparison on this page are analysis by Nicheloom. If you use them, please credit nicheloom.com. How you may use our data.