Investigating Performance of an Embedded Machine Learning Solution for Classifying Postural Behaviors †
Abstract
1. Introduction
- –
- The demonstration of better performances of the proposed machine learning classification methodology compared to threshold-based algorithms [16], especially when noisy data can affect the inference phase;
- –
- The comparison of the two approaches, in cases where different sets of features are used to feed the classification algorithms;
- –
- The investigation of performances shown by the MLP classification approach, in the case that a noisy dataset is used during the training phase;
- –
- The analysis of outcomes achieved by deploying the machine learning model in the embedded system.
- –
- The machine learning-based methodology allows the classification of four different postural dynamics, showing better performance in terms of accuracy and reliability with respect to threshold-based solutions [16];
- –
- The system allows for monitoring postural behavior both in indoor and outdoor environments;
- –
- The system does not require structured environments, such as dedicated laboratories and the related setup, nor specialized operators;
- –
- The adopted approach shows an intrinsic robustness against the absolute positioning of the node, thanks to the adoption of features which use relative distances between the node and the floor/belt joints. This is an advantage with respect to solutions that exploit the raw time evolution of signals provided by inertial measurement units (IMUs);
- –
- Ease of implementation of the classification approach in embedded systems, thanks to dedicated libraries that allow the deployment of machine learning models.
2. Related Works
2.1. Threshold-Based Approaches
2.2. Machine Learning-Based Approaches
3. The Proposed Methodology
3.1. Features and the Dataset Adopted for the Classification Strategy
- –
- (m): maximum displacement range in the AP direction;
- –
- (m): maximum displacement range in the ML direction;
- –
- : ellipse area including 95% of the stabilogram plot, where a and b represent the two semi-axes of the ellipse. (m) and (m). CSF is a confidence scaling factor whose value, in the case of the 95% ellipse, is 2.4477. and are the standard deviations of and , respectively;
- –
- (m): root mean square displacement, where is the distance between two adjacent points of the stabilogram.

3.2. The Machine Learning Approach for Postural Sway Classification
- –
- is the number of considered patterns;
- –
- are the expected classes;
- –
- are the classes estimated by the model.
4. Results and Discussion
- –
- A drop in accuracy is experienced as the noise level increases; however, the MLP algorithm performs better than the threshold algorithm, maintaining values of accuracy around 80% for a noise level up to 15.0%, in contrast to the 65% obtained for the threshold-based approach;
- –
- The threshold algorithm shows a of 60% with clean data, which decreases to 50% for increasing levels of noise. The MLP shows a of almost 100% with a negligible drop (less than 5%) even at 20.0% of noise; this result demonstrates the better robustness of the MLP approach with respect to the threshold-based algorithm;
- –
- Similar considerations also apply for the index, which, in the case of MLP, spans from 0% to around 13% for noise levels up to 20.0%, while the threshold-based algorithm shows values ranging from 10% to 31%; even this result indicates the better performance of the MLP algorithm;
- –
- The above considerations apply to both the training and test subsets, with similar trends being shown for all the cases that were considered.
5. Implementation of the MLP in the Embedded System: A Mixed-Postural Dynamics Test
6. Conclusions
Author Contributions
Funding
Institutional Review Board Statement
Data Availability Statement
Conflicts of Interest
Abbreviations
| PD | Parkinson’s Disease |
| CoP | Center of Pressure |
| MLP | Multi-Layer Perceptron |
| IMU | Inertial Measurement Unit |
| DWT | Discrete Wavelet Transform |
| NF | Neuro-Fuzzy |
| MCU | MicroController Unit |
| AP | Antero-Posterior |
| ML | Medio-Lateral |
References
- Baig, M.M.; Afifi, S.; GholamHosseini, H.; Mirza, F. A Systematic Review of Wearable Sensors and IoT-Based Monitoring Applications for Older Adults—A Focus on Ageing Population and Independent Living. J. Med. Syst. 2019, 43, 233. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ando, B. Instrumentation Notes—Sensors That Provide Security for People with Depressed Receptors. IEEE Instrum. Meas. Mag. 2006, 9, 56–61. [Google Scholar] [CrossRef] [Scilit]
- Chaccour, K.; Darazi, R.; El Hassani, A.H.; Andres, E. From Fall Detection to Fall Prevention: A Generic Classification of Fall-Related Systems. IEEE Sens. J. 2017, 17, 812–822. [Google Scholar] [CrossRef] [Scilit]
- Nicoletti, A.; Mostile, G.; Stocchi, F.; Abbruzzese, G.; Ceravolo, R.; Cortelli, P.; D’Amelio, M.; De Pandis, M.F.; Fabbrini, G.; Pacchetti, C.; et al. Factors Influencing Psychological Well-Being in Patients with Parkinson’s Disease. PLoS ONE 2017, 12, e0189682. [Google Scholar] [CrossRef] [Scilit]
- Contrafatto, D.; Mostile, G.; Nicoletti, A.; Raciti, L.; Luca, A.; Dibilio, V.; Lanzafame, S.; Distefano, A.; Drago, F.; Zappia, M. Single Photon Emission Computed Tomography Striatal Asymmetry Index May Predict Dopaminergic Responsiveness in Parkinson Disease. Clin. Neuropharmacol. 2011, 34, 71–73. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Mostile, G.; Nicoletti, A.; Cicero, C.E.; Cavallaro, T.; Bruno, E.; Dibilio, V.; Luca, A.; Sciacca, G.; Raciti, L.; Contrafatto, D.; et al. Magnetic Resonance Parkinsonism Index in Progressive Supranuclear Palsy and Vascular Parkinsonism. Neurol. Sci. 2016, 37, 591–595. [Google Scholar] [CrossRef] [Scilit]
- Mostile, G.; Terranova, R.; Rascunà, C.; Terravecchia, C.; Cicero, C.E.; Giuliano, L.; Davì, M.; Chisari, C.; Luca, A.; Preux, P.-M.; et al. Clinical-Instrumental Patterns of Neurodegeneration in Essential Tremor: A Data-Driven Approach. Park. Relat. Disord. 2021, 87, 124–129. [Google Scholar] [CrossRef] [Scilit]
- Horak, F.B.; Dimitrova, D.; Nutt, J.G. Direction-Specific Postural Instability in Subjects with Parkinson’s Disease. Exp. Neurol. 2005, 193, 504–521. [Google Scholar] [CrossRef] [Scilit]
- Lee, C.-H.; Sun, T.-L. Evaluation of Postural Stability Based on a Force Plate and Inertial Sensor during Static Balance Measurements. J. Physiol. Anthropol. 2018, 37, 27. [Google Scholar] [CrossRef] [Scilit]
- Błaszczyk, J.W.; Cieślińska-Świder, J.; Orawiec, R. New Methods of Posturographic Data Analysis May Improve the Diagnostic Value of Static Posturography in Multiple Sclerosis. Heliyon 2021, 7, e06190. [Google Scholar] [CrossRef] [Scilit]
- Liu, C.-H.; Lee, P.; Chen, Y.-L.; Yen, C.-W.; Yu, C.-W. Study of Postural Stability Features by Using Kinect Depth Sensors to Assess Body Joint Coordination Patterns. Sensors 2020, 20, 1291. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Maudsley-Barton, S.; Hoon Yap, M.; Bukowski, A.; Mills, R.; McPhee, J. A New Process to Measure Postural Sway Using a Kinect Depth Camera during a Sensory Organisation Test. PLoS ONE 2020, 15, e0227485. [Google Scholar] [CrossRef] [Scilit]
- Parvaneh, S.; Mohler, J.; Toosizadeh, N.; Grewal, G.S.; Najafi, B. Postural Transitions during Activities of Daily Living Could Identify Frailty Status: Application of Wearable Technology to Identify Frailty during Unsupervised Condition. Gerontology 2017, 63, 479–487. [Google Scholar] [CrossRef] [Scilit]
- Andò, B.; Baglio, S.; Graziani, S.; Marletta, V.; Dibilio, V.; Mostile, G.; Zappia, M. A Comparison among Different Strategies to Detect Potential Unstable Behaviors in Postural Sway. Sensors 2022, 22, 7106. [Google Scholar] [CrossRef] [Scilit]
- Andò, B.; Baglio, S.; Finocchiaro, V.; Marletta, V.; Rajan, S.; Nehary, E.A.; Dibilio, V.; Mostile, G.; Zappia, M. Machine Learning approach to classify Postural sway Instabilities. In Proceedings of the 2023 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Kuala Lumpur, Malaysia, 22–25 May 2023. [Google Scholar] [CrossRef] [Scilit]
- Ando, B.; Baglio, S.; Marletta, V.; Finocchiaro, V.; Dibilio, V.; Mostile, G.; Zappia, M.; Branciforte, M.; Curti, S. Best Features Selection for the Implementation of a Postural Sway Classification Methodology on a Wearable Node. IEEE Open J. Instrum. Meas. 2022, 1, 4000712. [Google Scholar] [CrossRef] [Scilit]
- Leirós-Rodríguez, R.; García-Soidán, J.L.; Romo-Pérez, V. Analyzing the Use of Accelerometers as a Method of Early Diagnosis of Alterations in Balance in Elderly People: A Systematic Review. Sensors 2019, 19, 3883. [Google Scholar] [CrossRef] [Scilit]
- Sazonov, E.S.; Fulk, G.; Hill, J.; Schutz, Y.; Browning, R. Monitoring of Posture Allocations and Activities by a Shoe-Based Wearable Sensor. IEEE Trans. Biomed. Eng. 2011, 58, 983–990. [Google Scholar] [CrossRef] [Scilit]
- Neville, C.; Ludlow, C.; Rieger, B. Measuring Postural Stability with an Inertial Sensor: Validity and Sensitivity. Med. Devices Evid. Res. 2015, 8, 447–455. [Google Scholar] [CrossRef] [Scilit]
- Rocchi, L.; Palmerini, L.; Weiss, A.; Herman, T.; Hausdorff, J.M. Balance Testing with Inertial Sensors in Patients with Parkinson’s Disease: Assessment of Motor Subtypes. IEEE Trans. Neural Syst. Rehabil. Eng. 2014, 22, 1064–1071. [Google Scholar] [CrossRef] [Scilit]
- Grafton, S.T.; Ralston, A.B.; Ralston, J.D. Monitoring of Postural Sway with a Head-Mounted Wearable Device: Effects of Gender, Participant State, and Concussion. Med. Devices Evid. Res. 2019, 12, 151–164. [Google Scholar] [CrossRef] [Scilit]
- Lyu, S.; Freivalds, A.; Downs, D.S.; Piazza, S.J. Assessment of Postural Sway with a Pendant-Mounted Wearable Sensor. Gait Posture 2022, 92, 199–205. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Cimera, M.; Voloshin, A. Validation of Smartphone Sway Analysis for Fall Prevention. Appl. Sci. 2021, 11, 10577. [Google Scholar] [CrossRef] [Scilit]
- Santos, T.M.O.; Barroso, M.F.S.; Ricco, R.A.; Nepomuceno, E.G.; Alvarenga, É.L.F.C.; Penoni, Á.C.O.; Santos, A.F. A Low-Cost Wireless System of Inertial Sensors to Postural Analysis during Human Movement. Measurement 2019, 148, 106933. [Google Scholar] [CrossRef] [Scilit]
- Gago, M.F.; Fernandes, V.; Ferreira, J.; Silva, H.; Rocha, L.; Bicho, E.; Sousa, N. Postural Stability Analysis with Inertial Measurement Units in Alzheimer’s Disease. Dement. Geriatr. Cogn. Disord. Extra 2014, 4, 22–30. [Google Scholar] [CrossRef] [Scilit]
- Ando, B.; Marletta, V.; Baglio, S.; Crispino, R.; Mostile, G.; Dibilio, V.; Nicoletti, A.; Zappia, M. A Measurement System to Monitor Postural Behavior: Strategy Assessment and Classification Rating. IEEE Trans. Instrum. Meas. 2020, 69, 8020–8031. [Google Scholar] [CrossRef] [Scilit]
- Singh, N.K.; Snoussi, H.; Hewson, D.; Duchêne, J. Wavelet Transform Analysis of the Power Spectrum of Centre of Pressure Signals to Detect the Critical Point Interval of Postural Control. In Communications in Computer and Information Science, Proceedings of the Biomedical Engineering Systems and Technologies, Porto, Portugal, 14–17 January 2009; Springer: Berlin/Heidelberg, Germany, 2010; pp. 235–244. [Google Scholar] [CrossRef] [Scilit]
- Chagdes, J.R.; Rietdyk, S.; Haddad, J.M.; Zelaznik, H.N.; Raman, A.; Rhea, C.K.; Silver, T. Multiple Timescales in Postural Dynamics Associated with Vision and a Secondary Task Are Revealed by Wavelet Analysis. Exp. Brain Res. 2009, 197, 297–310. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Ando, B.; Baglio, S.; Castorina, S.; Crispino, R.; Marletta, V.; Mostile, G.; Zappia, M. A Wavelet-Based Methodology for Features Extraction in Postural Instability Analysis. In Proceedings of the 2021 IEEE International Instrumentation and Measurement Technology Conference (I2MTC), Glasgow, UK, 17–20 May 2021. [Google Scholar] [CrossRef] [Scilit]
- Sandybekov, M.; Grabow, C.; Gaiduk, M.; Seepold, R. Posture Tracking Using a Machine Learning Algorithm for a Home AAL Environment. In Smart Innovation, Systems and Technologies, Proceedings of the 11th KES International Conference on Intelligent Decision Technologies (KES-IDT 2019), St. Julians, Malta, 17–19 June 2019; Springer: Singapore, 2019; pp. 337–347. [Google Scholar] [CrossRef] [Scilit]
- Ran, X.; Wang, C.; Xiao, Y.; Gao, X.; Zhu, Z.; Chen, B. A Portable Sitting Posture Monitoring System Based on a Pressure Sensor Array and Machine Learning. Sens. Actuators A Phys. 2021, 331, 112900. [Google Scholar] [CrossRef] [Scilit]
- Panahandeh, G.; Mohammadiha, N.; Leijon, A.; Handel, P. Chest-Mounted Inertial Measurement Unit for Pedestrian Motion Classification Using Continuous Hidden Markov Model. In Proceedings of the 2012 IEEE International Instrumentation and Measurement Technology Conference Proceedings, Graz, Austria, 13–16 May 2012; pp. 991–995. [Google Scholar] [CrossRef] [Scilit]
- Rescio, G.; Leone, A.; Siciliano, P. Supervised Expert System for Wearable MEMS Accelerometer-Based Fall Detector. J. Sens. 2013, 2013, 254629. [Google Scholar] [CrossRef] [Scilit]
- Leone, A.; Rescio, G.; Caroppo, A.; Siciliano, P. A Wearable EMG-Based System Pre-Fall Detector. Procedia Eng. 2015, 120, 455–458. [Google Scholar] [CrossRef] [Scilit]
- Sun, R.; Hsieh, K.L.; Sosnoff, J.J. Fall Risk Prediction in Multiple Sclerosis Using Postural Sway Measures: A Machine Learning Approach. Sci. Rep. 2019, 9, 16154. [Google Scholar] [CrossRef] [Scilit]
- Lee, P.; Chen, T.-B.; Wang, C.-Y.; Hsu, S.-Y.; Liu, C.-H. Detection of Postural Control in Young and Elderly Adults Using Deep and Machine Learning Methods with Joint–Node Plots. Sensors 2021, 21, 3212. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Li, D.; Kaminishi, K.; Chiba, R.; Takakusaki, K.; Mukaino, M.; Ota, J. Evaluation of Postural Sway in Post-Stroke Patients by Dynamic Time Warping Clustering. Front. Hum. Neurosci. 2021, 15, 731677. [Google Scholar] [CrossRef] [Scilit]
- Ando, B.; Baglio, S.; Bilio, V.D.; Marletta, V.; Marella, M.; Mostile, G.; Rajan, S.; Zappia, M. A Neuro-Fuzzy Approach to Assess Postural Sway. In Proceedings of the 2022 IEEE Sensors Applications Symposium (SAS), Sundsvall, Sweden, 1–3 August 2022; pp. 1–6. [Google Scholar] [CrossRef] [Scilit]
- Ribeiro, B.; Martins, L.; Pereira, H.; Almeida, R.; Quaresma, C.; Ferreira, A.; Vieira, P. Sitting Posture Detection Using Fuzzy Logic—Development of a Neuro-Fuzzy Algorithm to Classify Postural Transitions in a Sitting Posture. In Proceedings of the International Conference on Health Informatics (BIOSTEC 2015), Lisbon, Portugal, 12–15 January 2015; pp. 191–199. [Google Scholar] [CrossRef] [Scilit]
- Collins, J.J.; De Luca, C.J. Open-Loop and Closed-Loop Control of Posture: A Random-Walk Analysis of Center-of-Pressure Trajectories. Exp. Brain Res. 1993, 95, 308–318. [Google Scholar] [CrossRef] [Scilit] [PubMed]
- Kingma, D.; Ba, J. Adam: A Method for Stochastic Optimization. arXiv 2014. [Google Scholar] [CrossRef] [Scilit]
- Hand, D.J.; Till, R.J. A Simple Generalisation of the Area under the ROC Curve for Multiple Class Classification Problems. Mach. Learn. 2001, 45, 171–186. [Google Scholar] [CrossRef] [Scilit]







| Target | Approach | |
|---|---|---|
| Threshold-Based | Machine Learning-Based | |
| Posture analysis | [19,21,23,24,25,26], [14,27,28,29] * | [30,31,35,36,37,38,39], [14] * |
| Classification of postural sway behaviors | [16,20,22] | [15], This work |
| Data\Index | Q% | ||
|---|---|---|---|
| Threshold algorithm | |||
| Training | 99.60 | 64.10 | 12.60 |
| Test | 99.10 | 60.50 | 12.50 |
| MLP | |||
| Training | 99.90 | 99.79 | 3.54 |
| Test | 100.00 | 99.99 | 0.00 |
| Model | Test Q% |
|---|---|
| MLP | 100.00 |
| Random Forest Classifier | 99.68 |
| SVM | 99.46 |
| K-NN | 99.36 |
Disclaimer/Publisher’s Note: The statements, opinions and data contained in all publications are solely those of the individual author(s) and contributor(s) and not of MDPI and/or the editor(s). MDPI and/or the editor(s) disclaim responsibility for any injury to people or property resulting from any ideas, methods, instructions or products referred to in the content. |
© 2025 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/).
Share and Cite
Andò, B.; Baglio, S.; Manenti, M.; Finocchiaro, V.; Marletta, V.; Rajan, S.; Nehary, E.A.; Dibilio, V.; Zappia, M.; Mostile, G. Investigating Performance of an Embedded Machine Learning Solution for Classifying Postural Behaviors. Sensors 2025, 25, 4262. https://doi.org/10.3390/s25144262
Andò B, Baglio S, Manenti M, Finocchiaro V, Marletta V, Rajan S, Nehary EA, Dibilio V, Zappia M, Mostile G. Investigating Performance of an Embedded Machine Learning Solution for Classifying Postural Behaviors. Sensors. 2025; 25(14):4262. https://doi.org/10.3390/s25144262
Chicago/Turabian StyleAndò, Bruno, Salvatore Baglio, Mattia Manenti, Valeria Finocchiaro, Vincenzo Marletta, Sreeraman Rajan, Ebrahim Ali Nehary, Valeria Dibilio, Mario Zappia, and Giovanni Mostile. 2025. "Investigating Performance of an Embedded Machine Learning Solution for Classifying Postural Behaviors" Sensors 25, no. 14: 4262. https://doi.org/10.3390/s25144262
APA StyleAndò, B., Baglio, S., Manenti, M., Finocchiaro, V., Marletta, V., Rajan, S., Nehary, E. A., Dibilio, V., Zappia, M., & Mostile, G. (2025). Investigating Performance of an Embedded Machine Learning Solution for Classifying Postural Behaviors. Sensors, 25(14), 4262. https://doi.org/10.3390/s25144262

