Series · 11 posts
IMU Activity Recognition, Measured
Human activity recognition on UCI HAR with honest subject splits: preprocessing, augmentation, window length, sampling rate, sensor failure and data budgeting.
A small 1-D CNN on accelerometer and gyroscope windows, evaluated on subjects it has never seen. The series moves from preprocessing and subject-wise splitting to a fifty-split paired harness that can resolve sub-point effects, then uses that harness to price augmentation, window length, sampling rate, missing sensors and the recruit-more-subjects question.
- 1Preparing IMU Sensor Data for Deep LearningJuly 21, 2026Preparing IMU Sensor Data for Deep Learning: A Signal Processing Engineer's Guide
Turning raw accelerometer and gyroscope streams into training data: timestamps, gravity, windowing, and the leaks that inflate accuracy.
- 2Random vs Subject Split for IMU Activity RecognitionAugust 10, 2026Your Activity Recognition Model Isn't 94% Accurate. For Someone, It's 74%
Random vs subject splits on real sensor data, 10 trained models: a per-user accuracy spread from 94% down to 74% that matters more than leakage.
- 3Leave-One-Subject-Out on UCI HAR: Where Errors Come FromAugust 11, 2026I Trained 60 Models to Find Out Where Activity Recognition Actually Fails
Full LOSO on UCI HAR: the 94% model is 99.5% with one blind spot, 86% of errors are one activity pair, and calibration recovers half the gap.
- 4Deploying a HAR CNN: ONNX Export and int8 QuantizationAugust 13, 2026From Sensor Windows to a 100 KB Model: Deploying the HAR CNN
Exporting the 1D activity-recognition CNN to ONNX, quantizing to int8 and checking which quantization traps fire again on a 100 KB model.
- 5IMU Augmentation Measured: Jitter Hurt in Every SplitSeptember 3, 2026The Most Recommended IMU Augmentation Made My Model Worse in All Five Splits
Noise, scaling and rotation measured on human activity recognition under a subject split. Gaussian jitter hurt in five of five splits.
- 6IMU Augmentation Over Fifty Subject Splits, 200 RunsSeptember 9, 2026I Said It Would Take Fifty Splits. Here Are the Fifty Splits
Five splits ranked the augmentations in the wrong order. Fifty paired splits and 200 training runs find the one that helps the hardest users.
- 7IMU Rotation Augmentation Angle Sweep: 30° Beats 15°September 15, 2026I Warned Against Big IMU Rotations. The Sweep Says I Had It Backwards
A 300-run dose-response sweep of rotation augmentation for activity recognition: 30 degrees beats 15 on every metric and 90 never hurts.
- 8How Long a Window Does IMU Activity Recognition Need?September 28, 2026How Many Seconds of Sensor Data Does Activity Recognition Actually Need?
Center-cropping 2.56-second HAR windows across 50 paired subject splits: a quarter of the context costs 0.87 points, hardest on the worst subjects.
- 9When the Gyroscope Fails: Channel Dropout for IMU ModelsOctober 6, 2026When the Gyroscope Dies, My Activity Model Loses 3 Points. The Gyro Was Only Worth 1
An unprepared HAR model loses 2.8 points when the gyro flatlines; a gyro-free model trails by only 0.9. Channel-dropout training buys back the gap.
- 10IMU Sampling Rate Measured: 12.5 Hz Beats 50 HzOctober 16, 2026I Slowed My IMU's Clock 4x and Accuracy Went Up
Resampling HAR windows to 25, 12.5 and 6.25 Hz over fifty paired subject splits: half the rate is free and a quarter is better (t = 4.3).
- 11More Subjects or Longer Recordings? IMU Data Budget MeasuredOctober 27, 2026I Threw Away Half My Training Data and Lost Nothing. Then I Threw Away Half My People and Lost Three Points
Subject-count dose-response from 21 people to 5, plus a volume-matched control: same windows from all 21 vs 10 people's full recordings, +1.18 points.