Engineering Accelerometer Features for Apple Watch Fall Detection
Last updated: November 29, 2026
Quick Overview
Given raw 3-axis accelerometer and gyroscope streams from Apple Watch, describe the features you would engineer for a fall detection classifier and how you would validate them.
Apple
November 29, 20260
0
0 solved
Given raw 3-axis accelerometer and gyroscope streams from Apple Watch, describe the features you would engineer for a fall detection classifier and how you would validate them.
Health sensing teams at Apple build models that must run continuously on the watch with tight battery limits and very low false alarm rates, since a false fall alert can call emergency services. The interviewer checks domain-driven feature design, windowing, and leak-free validation across people.
What the Interviewer Expects
- Segments the stream into windows around candidate impact events instead of fixed windows everywhere
- Proposes physically motivated features: impact magnitude, free-fall phase, orientation change, post-event stillness
- Considers compute and battery cost of features on device
- Validates with subject-wise splits and realistic negatives such as clapping or slamming a hand on a table
- Mentions age and wrist-placement variation
Key Topics to Cover
How to Approach This
- Understand the bias-variance trade-off. High training accuracy but low test accuracy signals overfitting.
- Choose evaluation metrics carefully based on the problem. Accuracy alone is often insufficient.
- Feature engineering is often more impactful than model selection.
- Know when to use tree-based models (tabular data) vs neural networks (unstructured data).
- Handle class imbalance with SMOTE, class weights, or appropriate loss functions.
Possible Follow-up Questions
- How do you collect enough real falls when they are rare and dangerous to stage?
- Would you replace hand-crafted features with a 1D CNN, and what changes?
- How do features change if the watch is on the dominant wrist?
- How would you detect sensor drift between watch hardware generations?
Sharpen Your Skills on Codemia
Practice similar problems with our interactive workspace, get AI feedback, and track your progress.
Explore ML Interview PrepSample Answer
Clarify
Ask sampling rates (accelerometer maybe 100 Hz), whether a cheap trigger runs first, the label source (staged falls with stunt performers, plus real-world confirmed events), and the acceptable alert r...
Approach
Use a two-step design. A cheap trigger fires when acceleration magnitude exceeds about 3g. Around each trigger, extract a window from 2 seconds before to 5 seconds a...