Life Admin & HomeDone with Claude Code
Build a thyroid episode warning model from wearable data
Claude Code was given 9.5 years of Apple Watch and Whoop data and built an ML model that backtested as warning of a prior episode before labs confirmed it.
- What They Did
- The poster exported 9.5 years of Apple Watch data through Apple Health plus Whoop data, labeled periods that matched hyperthyroid phases, and gave Claude Code the dataset to build a detector. In comments, they said Claude tried many models for over an hour, landed on XGBoost, engineered 53 features before keeping three resting-heart-rate features, and the poster also held out the most recent episode to manually test the result.
- How It Went
- They said the backtest on the held-out episode would have flagged trouble in early August before labs confirmed it at the end of the month. In comments, they framed it as an early-warning prompt to get confirmatory labs, not a diagnosis or automatic medication change.
- Worth Knowing
- The thread’s clearest catch is that this depended on nearly a decade of personal wearable history plus hand-labeled flare periods; the model search itself reportedly ran for over an hour.
Try it yourself with Claude Code
I've exported my wearable data from [Apple Watch, Whoop, etc.] into [folder path], covering [date range]. Build a model that looks for patterns in [resting heart rate, HRV, sleep, etc.] ahead of past [health event, with dates] and backtest whether it would have warned me early. Finish with a plain-language report of what it found and how reliable it is, and note this is for personal curiosity, not medical advice.