Back

A Python Toolkit for Simulated Fall Risk Assessment Using Synthetic Wearable Sensor Data

Opoku-Gyamfi, D.

2025-08-26 rehabilitation medicine and physical therapy
10.1101/2025.08.22.25334265 medRxiv
Show abstract

BackgroundFalls are a leading cause of injury and reduced mobility, particularly among prosthetic users, older adults, and individuals with neuromuscular impairments. Accurate assessment of fall risk is essential for timely interventions, personalized rehabilitation, and overall safety. However, real-world data collection is often constrained by ethical, logistical, and safety considerations, limiting the availability of sufficiently large and diverse datasets. AimTo develop a synthetic dataset representing low, medium, and high fall risk scenarios and evaluate the performance of machine learning models trained on this data to provide a reproducible framework for fall risk prediction while mitigating challenges associated with real-world data. MethodsA Python-based toolkit was used to generate synthetic accelerometer (accel_x, accel_y, accel_z) and gyroscope (gyro_x, gyro_y, gyro_z) signals for 1,000 samples across three fall risk categories. Key features, including mean, standard deviation, and variability measures, were extracted from these signals. A Random Forest classifier with 100 decision trees was trained on 80% of the dataset and tested on the remaining 20%. Performance was assessed using accuracy, precision, recall, F1-score, and confusion matrices. ResultsThe classifier achieved an overall accuracy of 80%, with high precision and recall for low-risk (precision 0.90, recall 0.88) and high-risk (precision 0.75, recall 0.88) categories. Medium-risk predictions were less accurate (precision 0.59, recall 0.54). Feature distributions across fall risk levels demonstrated meaningful separation, supporting the utility of synthetic signals in model training. ConclusionSynthetic accelerometer and gyroscope data can effectively support fall risk classification, offering a reproducible and ethical alternative for algorithm development in the absence of large-scale real-world datasets. Clinical RelevanceThis approach facilitates the rapid development and testing of predictive models for fall prevention, enabling safer, data-driven strategies for vulnerable populations such as older adults and prosthetic users.

Matching journals

The top 4 journals account for 50% of the predicted probability mass.

50% of probability mass above

"Similar papers" are the closest papers from that journal in the model's embedding space. They show what the match is built on, but the ranking comes mostly from a classifier over the whole training set, not from these examples alone.