A Comparison of Machine Learning Approaches to Activity Classification Using IMU Data Collected in a Community-Based Setting

Machine learning (ML) algorithms can be used to extract clinically meaningful information from movement data captured by inertial measurement units (IMUs), but many human activity recognition (HAR) pipelines are developed on large laboratory datasets that may not reflect small, heterogeneous, real-world samples. The purpose of this study is to systematically compare the accuracy of multiple ML models, feature sets (both simple and expanded), class balancing strategies, null and transition period handling techniques, and sensor configurations for recognizing a set of four everyday activities extracted from IMU time series data from an age-diverse population. Six ML classifiers were trained and tested: multilayer perceptron, random forest, k-nearest neighbors, logistic regressor, CatBoost, and gaussian naive bayes. These approaches were used in a pipeline with differing sampling techniques including the synthetic minority oversampling technique or random undersampling, and feature handling steps including principal component analysis or a Select-From-Model metatransformer. Additionally, two deep learning methods, DeepConvLSTM and ResGCNN, were trained and tested. Accuracy, precision, recall, and area under the receiver operating characteristic curve were compared to a dummy classifier as a benchmark approximation to chance performance. All pipelines performed better than the dummy classifier, with model accuracy ranging between 0.427 and 0.644. This study demonstrated the ability of several ML algorithms to properly recognize a set of functional activities using limited IMU data from both children and adults.

Authors

Institutions

Publication Details

Journal
Sensors
Published
2026-08-25
DOI
https://doi.org/10.3390/s26175357
Primary Topic
Context-Aware Activity Recognition Systems
Type
article
Field-Weighted Citation Impact
0.00

Funders

Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
article

A Comparison of Machine Learning Approaches to Activity Classification Using IMU Data Collected in a Community-Based Setting

Hans E. Anderson, Robert A. Scheidt, Kimberly D. Bassindale
Sensors
Context-Aware Activity Recognition Systems
article

A Comparison of Machine Learning Approaches to Activity Classification Using IMU Data Collected in a Community-Based Setting

Hans E. Anderson, Robert A. Scheidt, Kimberly D. Bassindale
article en

Abstract

Machine learning (ML) algorithms can be used to extract clinically meaningful information from movement data captured by inertial measurement units (IMUs), but many human activity recognition (HAR) pipelines are developed on large laboratory datasets that may not reflect small, heterogeneous, real-world samples. The purpose of this study is to systematically compare the accuracy of multiple ML models, feature sets (both simple and expanded), class balancing strategies, null and transition period handling techniques, and sensor configurations for recognizing a set of four everyday activities extracted from IMU time series data from an age-diverse population. Six ML classifiers were trained and tested: multilayer perceptron, random forest, k-nearest neighbors, logistic regressor, CatBoost, and gaussian naive bayes. These approaches were used in a pipeline with differing sampling techniques including the synthetic minority oversampling technique or random undersampling, and feature handling steps including principal component analysis or a Select-From-Model metatransformer. Additionally, two deep learning methods, DeepConvLSTM and ResGCNN, were trained and tested. Accuracy, precision, recall, and area under the receiver operating characteristic curve were compared to a dummy classifier as a benchmark approximation to chance performance. All pipelines performed better than the dummy classifier, with model accuracy ranging between 0.427 and 0.644. This study demonstrated the ability of several ML algorithms to properly recognize a set of functional activities using limited IMU data from both children and adults.

SensorsVol. 26(17)
Marquette University (US), Northwestern University (US), Medical College of Wisconsin (US), Stanford Medicine (US)
National Institutes of Health
Openalex Percentile: Top 12%
Context-Aware Activity Recognition Systems
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.