agentusecasesAll 965 use cases
Life Admin & Home

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.

Done withClaude Code

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.

Read the original ↗

Source: Reddit · Undated

Five of these in your inbox every morning

The best things people got an AI agent to do, each with the prompt to try it.

More like this