Interpretable Feature Selection for Smartphone-Based Human Activity Recognition Using Sparse PLS-DA and Multinomial Logistic Regression
Preprint
- 31 August 2026
- preprint
- Published by MDPI AG in Preprints.org
Abstract
Smartphone-based human activity recognition (HAR) uses features collected from smartphone sensors to distinguish between different human activities. The large number of correlated features generated by smartphone sensors can make feature selection and model interpretation challenging. This study evaluates a two-stage feature selection and classification framework for HAR, in which sparse partial least squares discriminant analysis (sPLS-DA) is used primarily as a supervised feature selection method, while multinomial logistic regression is employed as the subsequent classifier. The approach is compared with LASSO and Elastic Net regularization under consistent training, testing, and cross-validation procedures. The experiment used 30 repetitions. In each repetition, 21 subjects were used for training and nine subjects were used for testing, with five-fold subject-level cross-validation inside the training set. The original variables selected by each method were also tested with the same unpenalized multinomial logistic regression (MLR) classifier. Native LASSO and Elastic Net gave the highest predictive performance, with mean accuracies of 0.9514 ± 0.0166 and 0.9504 ± 0.0187, respectively, and mean multiclass AUC values of about 0.997. LASSO selected 169.8 ± 25.4 features on average, while Elastic Net selected 255.5 ± 114.4. sPLS-DA selected 353.7 ± 47.5 features on average, while its native max.dist classifier reached a mean accuracy of 0.8831 ± 0.0283 and the selected feature sets had the highest mean pairwise Jaccard overlap (0.6611). Using unpenalized MLR on the selected feature subsets reduced accuracy for all three methods. Overall, LASSO gave the best balance between predictive performance and a smaller feature set, while sPLS-DA showed higher feature-set overlap but kept many more features. These results show that predictive performance, feature-set size, and selection stability should be considered together in smartphone-based HAR.Keywords
All Related Versions
- Version 1, 2026-08-31, Preprints
- Published version: Computers, 15 (10), 698.
This publication has 19 references indexed in Scilit:
- The Performance of Feature Selection with the Stability Selection Method in Human Activity Recognition (HAR) Classification Using the Lasso Regression Algorithm2025
- Integrating Sparse Principal Component Analysis in High-Dimensional Partially Linear Models: A Local Polynomial Approach2025
- Human activity recognition with smartphone-integrated sensors: A surveyExpert Systems with Applications, 2024
- Exploiting Feature Selection in Human Activity Recognition: Methodological Insights and Empirical Results Using Mobile Sensor DataIEEE Access, 2022
- Stability of feature selection algorithm: A reviewJournal of King Saud University Computer and Information Sciences, 2022
- A Comparative Study of the Stability of Filter based Feature Selection Algorithms2019
- Stability SelectionJournal of the Royal Statistical Society Series B: Statistical Methodology, 2010
- Regularization and Variable Selection Via the Elastic NetJournal of the Royal Statistical Society Series B: Statistical Methodology, 2005
- A Simple Generalisation of the Area Under the ROC Curve for Multiple Class Classification ProblemsMachine Learning, 2001
- Regression Shrinkage and Selection Via the LassoJournal of the Royal Statistical Society Series B: Statistical Methodology, 1996