How Well Can a Wearable Recognize Your Activity?

Explore a six-activity test on nine held-out participants and see which movements the AI most often confused.

A person walks past an observer holding a tally counter.
A reference observer and a movement sensor provide different pieces of an activity-recognition test.

An activity-recognition AI model must turn a few seconds of sensor readings into a word such as “walking” or “standing.” Yenra tested a simple classifier on a public smartphone dataset. A row of mistaken stair descents reveals more about this task than the overall accuracy alone.

What did the volunteers actually wear?

Thirty volunteers wore a smartphone at the waist while performing six labeled activities. The archive contains features computed from motion signals in short, overlapping windows. We used the supplied split: 7,352 training windows from 21 people and 2,947 test windows from nine different people. A window is a unit of scoring. The number of independent test participants is nine. UCI Human Activity Recognition Using Smartphones dataset

A person wearing a black wristwatch with an electronic display in a forest at sunset or sunrise.
An activity label is inferred from movement measured at a particular body location.

Where the activity classifier made mistakes

For each training activity, Yenra averaged its 561 supplied feature values. We assigned each held-out window to the closest average by Euclidean distance. The classifier got 2,491 of 2,947 windows right (84.5%). Always guessing the training set’s most frequent activity, lying, got 537 right (18.2%). Neighboring windows share sensor readings, so treating every window as an independent person would overstate the precision of this comparison.

Six-by-six table comparing recorded and predicted activities on held-out smartphone movement windows.
Rows are the recorded activity and columns are the AI prediction. Cells on the diagonal are correct. Each count represents a time window. Open the full-size chart.

Download the six-activity confusion matrix (CSV). Rows are recorded activities. The six prediction columns contain window counts. Data adapted from the UCI Human Activity Recognition Using Smartphones archive, CC BY 4.0. Creative Commons license.

A woman is working out on a treadmill while looking at her phone.
A coaching claim requires evidence beyond correctly recognizing an activity.

Which mistake matters for the intended use?

The classifier correctly labeled 261 of 420 downstairs windows. It called 100 level walking and 59 upstairs. For a total walking-time estimate those errors matter less than for a stair-descent counter. A wristwatch, a phone in a bag, or someone using a mobility aid can produce different motion patterns. To use the result in that setting, collect a comparison against observed activity there. How AI Measures Gait From Phone Video

Collection of devices connected through an orange ring, showcasing modern technology and connectivity.
Changing the sensor’s placement can change its readings during the same activity.

Try it with the evidence

Read the downstairs row

Source notes. Yenra’s held-out test of the UCI smartphone recordings. Of 420 windows recorded as downstairs, 261 were labeled downstairs, 100 level walking and 59 upstairs. Nine people supplied all held-out windows.

Prompt. Calculate recall for downstairs. Which confusion was most frequent? What else would you need to compute precision for a downstairs alert or generalize to wristwatches?

Check your reading

Downstairs recall was 261/420, or 62.1%. Level walking was the most common wrong label. Precision needs all windows predicted downstairs, including other true activities. Generalizing to a wristwatch needs a separate comparison using wrist recordings and reference activities.

Illustrated field notes

Movement signals, feedback and daily activity
A close-up view of an Apple Watch face on a person's wrist.
A recovery score combines signals and assumptions that need separate evaluation.
An elderly woman is seen examining her smartphone on a city street.
A safety alert requires a reference event and a documented response.
A woman interacting with an interactive screen.
A clear display should make an uncertain classification visible.
A woman stands in a forest, engrossed in her cell phone.
A notification can be timely even when the activity label is wrong.
Interpreting estimates across devices
A close-up view of a smartwatch face with a digital display and various features.
Recognizing an activity provides no diagnosis of a health condition.
A bedroom with a bed and various plants surrounding it, featuring a mobile phone and small white device for tracking sleep quality.
A nighttime motion estimate and a scored sleep study use different information.
A smartphone and smartwatch with a food tracking app open on their screens, surrounded by various fruits and vegetables.
A movement trace cannot by itself establish what a person ate.