Automatic recognition of exercise types using data from wearable sensors is a key challenge in the feld of digital health and ftness. This study presents a machine learning–based strategy for classifying physical activities using data collected from ftness trackers. We employ a cost-sensitive and optimized Long Short-Term Memory (LSTM) network to better handle class imbalances and model temporal dependencies in the sensor data. During preprocessing, raw signals are cleaned, normalized, and transformed into meaningful features. The customized LSTM model is then trained to learn hidden patterns with an emphasis on minimizing misclassifcation costs. Evaluation using standard performance metrics shows that the proposed costsensitive LSTM approach signifcantly outperforms traditional methods, achieving an accuracy of 99%. Precision, recall, and F1-score also indicate excellent performance, demonstrating the method’s strong capability in accurate activity recognition. Unlike many previous studies focused on non-sequential or standard LSTM models, this research highlights the advantages of tailored recurrent architectures in enhancing the robustness and accuracy of exercise classifcation systems.
Najjar-Ghabel,S , Yousefi,S and Ammar Jabbar,B . (2026). An optimized LSTM-based strategy for exercise type recognition using fitness tracker data. (e6084). AUT Journal of Mathematics and Computing, (), e6084 doi: 10.22060/ajmc.2025.24446.1424
MLA
Najjar-Ghabel,S , , Yousefi,S , and Ammar Jabbar,B . "An optimized LSTM-based strategy for exercise type recognition using fitness tracker data" .e6084 , AUT Journal of Mathematics and Computing, , , 2026, e6084. doi: 10.22060/ajmc.2025.24446.1424
HARVARD
Najjar-Ghabel S, Yousefi S, Ammar Jabbar B. (2026). 'An optimized LSTM-based strategy for exercise type recognition using fitness tracker data', AUT Journal of Mathematics and Computing, (), e6084. doi: 10.22060/ajmc.2025.24446.1424
CHICAGO
S Najjar-Ghabel, S Yousefi and B Ammar Jabbar, "An optimized LSTM-based strategy for exercise type recognition using fitness tracker data," AUT Journal of Mathematics and Computing, (2026): e6084, doi: 10.22060/ajmc.2025.24446.1424
VANCOUVER
Najjar-Ghabel S, Yousefi S, Ammar Jabbar B. An optimized LSTM-based strategy for exercise type recognition using fitness tracker data. AUT J Math Comput. 2026;():e6084. doi: 10.22060/ajmc.2025.24446.1424