Hacker News new | ask | show | jobs
by levocardia 17 days ago
Do you have a smart watch, or a Fitbit, or an Apple watch? You can get heart rate data, or steps per minute, which are pretty good proxies for metabolic activity. Garmin has a free personal API you can use, Fitbit routes through Google Health, and Apple Watch of course goes through Apple Health. Even beyond "exercise" in the traditional sense, my guess is that walking (steps per min), or even just lying/sitting/standing indicators (present in some watches), would improve prediction a lot.

I have done a lot of work on health wearables, and "predict the time series" does a lot better when you can cross-reference it against the biological drivers of the function you're looking at. The other obvious one here would be meals - hard to think of how to flag that properly, lots of options.

2 comments

Hmm maybe I should build my own wearable using an ESP32 + heart rate sensor? I'm already pretty good at embedded stuff and it would be a nice weekend project.
I would highly recommend a Garmin Smartwatch with 1+ week of battery life. They have built-in models that are very good at measuring activity from heart rate + accelerometer data. I use it for calorie tracking among other things and it works very well.

You can directly export the timeseries over USB (though I just download from Garmin's portal which syncs via bluetooth/wifi.) It also shouldn't be hard to write your own bluetooth/wifi sync.

It can be a pain getting Apple data to merge with eg Garmin. Apps like Run Gap merge it quite well. Some AirPods do heart rate quite well.