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.

  1. 1
    Preparing IMU Sensor Data for Deep Learning
    July 21, 2026
    Preparing 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.

  2. 2
    Random vs Subject Split for IMU Activity Recognition
    August 10, 2026
    Your 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.

  3. 3
    Leave-One-Subject-Out on UCI HAR: Where Errors Come From
    August 11, 2026
    I 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.

  4. 4
    Deploying a HAR CNN: ONNX Export and int8 Quantization
    August 13, 2026
    From 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.

  5. 5
    IMU Augmentation Measured: Jitter Hurt in Every Split
    September 3, 2026
    The 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.

  6. 6
    IMU Augmentation Over Fifty Subject Splits, 200 Runs
    September 9, 2026
    I 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.

  7. 7
    IMU Rotation Augmentation Angle Sweep: 30° Beats 15°
    September 15, 2026
    I 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.

  8. 8
    How Long a Window Does IMU Activity Recognition Need?
    September 28, 2026
    How 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.

  9. 9
    When the Gyroscope Fails: Channel Dropout for IMU Models
    October 6, 2026
    When 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.

  10. 10
    IMU Sampling Rate Measured: 12.5 Hz Beats 50 Hz
    October 16, 2026
    I 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).

  11. 11
    More Subjects or Longer Recordings? IMU Data Budget Measured
    October 27, 2026
    I 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.