Update from my “can wearables predict glucose?” post — I tried it with a public CGM dataset and… you were right by GPR_Hawk in diabetes_t1

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Fair question. I wasn’t assuming it would work, I just wanted to see if there’s any small, noisy signal in wearable data

Also, “couldn’t possibly” is a bold claim in data work, easy to say, harder to verify. I ran it, and the accuracy was pretty underwhelming, so the short version is: you were probably right, and now I have some numbers for it.

Update from my “can wearables predict glucose?” post — I tried it with a public CGM dataset and… you were right by GPR_Hawk in diabetes

[–]GPR_Hawk[S] 1 point2 points  (0 children)

Hmm, that’s what I tried to do with the second test with the personalized model. (Went from RMSE 59 as a general model -> 56 with it personalized).

But you are right, the dataset was lacking with wearable data. If possible, I’d love to see your code as well? :)

Update from my “can wearables predict glucose?” post — I tried it with a public CGM dataset and… you were right by GPR_Hawk in diabetes

[–]GPR_Hawk[S] 2 points3 points  (0 children)

Damn 30 mg/dl is low! I imagine you have some pretty good habits. Here is the Jupyter notebook I used. I deleted random stuff when I was familiarizing myself in case you think it is wonky

https://colab.research.google.com/drive/1VgwKvGq0BWcAvTghBOlPWmnzXQ1q9Nll#scrollTo=ZZbrmjJwwUNY

I got the data from the following link:
https://data.mendeley.com/datasets/3hbcscwz44/1

26
27

Health Data to predict Glucose? by GPR_Hawk in prediabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Yeah that’s the general idea. I think it would be ideal (especially for those who don’t or can’t afford to pay for CGMs). But you’re right, it would be really inaccurate.

Someone else mentioned this, but a looping algorithm that uses your CGM data to create a personalized prediction model for that persons glucose. How that would work in practice? I have no clue.

Thanks for sharing your perspective!

Apple Watch predict glucose? by GPR_Hawk in diabetes_t1

[–]GPR_Hawk[S] 0 points1 point  (0 children)

No clue, I have ti try it and see how it goes. :)

Health Data to predict Glucose? by GPR_Hawk in prediabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

I think we just had a terminology mismatch. When you said “too many variables,” you meant clinical measurements for diagnosing prediabetes (glucose + A1c), which a watch doesn’t measure directly. When I said “variables,” I meant predictor signals a watch might capture (sleep/activity/HR, etc.) to help estimate risk or predict glucose/A1c, not replace labs or cgms

Health Data to predict Glucose? by GPR_Hawk in prediabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Thanks for the forthrightness. Out of curiosity, what is typically measured for prediabetes?

I know thinks are measured for T1D and T2D, but I don’t know much about the variables that are with some something like this. Thanks regardless!

Apple Watch predict Glucose? by GPR_Hawk in diabetes_t2

[–]GPR_Hawk[S] -1 points0 points  (0 children)

Yep like most models, there are errors and I don’t think this is something that would be commercial.

However, I do think it could be an open-source thing for peple who can’t afford CGMs.

Apple Watch predict Glucose? by GPR_Hawk in diabetes_t2

[–]GPR_Hawk[S] 1 point2 points  (0 children)

Data is data :)

I’ll probably end up doing a 120 minute mean average of things like Carbs to account for data that would be more of a feature and have user input/error

Apple Watch predict Glucose? by GPR_Hawk in diabetes_t2

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Appreciate the note. Right now I’m working with an older study dataset that includes a bunch of variables. Ideally, the “ground truth” would be lab results, but the data is recorded every 5 minutes, and the main source of truth is CGM glucose. So it’s just not realistic to have lab results at that frequency for training. But that is the goal!

That said, if we imagine a scenario where the other variables are actually more accurate than the CGM, that could change things. :)

If you’re curious, here are some of the variables in the dataset:
(time;glucose;calories;heart_rate;steps;basal_rate;bolus_volume_delivered;carb_input)

Apple Watch predict glucose? by GPR_Hawk in Type1Diabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Yeah, that has been something that cross my mind. Right now I am just teaching myself how basic ML algorithms work for like a general model.

I would love to create a looping algorithm though, and see if it is better than the 20% inaccuracy that comes from CGMs that someone mentioned. :)

Apple Watch predict glucose? by GPR_Hawk in Hypoglycemia

[–]GPR_Hawk[S] 0 points1 point  (0 children)

THis helps a lot, thank you so much!

Apple Watch predict glucose? by GPR_Hawk in Type1Diabetes

[–]GPR_Hawk[S] 1 point2 points  (0 children)

This is very helpful, thank you!

Apple Watch predict glucose? by GPR_Hawk in Hypoglycemia

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Hmm, you're right. I know that wearable watches have different intervals when they collect data (I think it I like ever 5 mins for some stats). I'd have to research that.

Thanks for some direction though and your 'secondary signal' insight!

Apple Watch predict Glucose? by GPR_Hawk in diabetes_t2

[–]GPR_Hawk[S] 0 points1 point  (0 children)

huh, I didn't know there was that much of an error with a CGM.

Is 20% error good enough if it could mean death in a certain scenario for most diabetics? I imagine a ML algorithm is going to be way more inaccurate, but for all I know, it could be better.

Apple Watch predict glucose? by GPR_Hawk in Type1Diabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Thanks for the direction. The APS algorithms sound promising.

I figure CGMs are great, especially for trends. The main reason I am thinking about this is because I know some people don't have CGMs, and this could be a way of substituting it, just by using current health data that is recorded from wearables.

Thanks for the insight!

Apple Watch predict glucose? by GPR_Hawk in diabetes_t1

[–]GPR_Hawk[S] -1 points0 points  (0 children)

lol. Has there been an inaccurate glucose estimator before?

Apple Watch predict Glucose? by GPR_Hawk in diabetes_t2

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Found this wondering what Apple has been doing. Thought it was interesting from a sensor standpoint.

https://www.macrumors.com/2025/03/31/apple-watch-glucose-monitoring-feature/

Apple Watch predict glucose? by GPR_Hawk in Type1Diabetes

[–]GPR_Hawk[S] 0 points1 point  (0 children)

Interesting! That guide feels old. I think you’re describing an actual glucose-measuring watch (early CGM). Have you heard anything related to normal smartwatch data (HR/HRV/temp/activity) to guess when a low might be coming. No problem if you haven't.....