Research indexObservational
An Interpretable and Hyperparameter-Optimized Machine Learning Framework for Structured Health Data: Depression Risk Prediction in Middle-Aged and Older Adults Using CHARLS Physical Activity Features
Xie
24 Apr 2026Open access
NobleIDark:/48914/w1/20261105/FC67B6F9DOI10.1145/3829441.3829579
An Interpretable and Hyperparameter-Optimized Machine Learning Framework for Structured Health Data: Depression Risk Prediction in Middle-Aged and Older Adults Using CHARLS Physical Activity Features
Xie · 2026
NobleIDark:/48914/w1/20261105/FC67B6F9DOI10.1145/3829441.3829579
Free to read at the publisher
You can read the abstract here, or the full text at the publisher.
Abstract
Depression risk prediction in middle-aged and older adults is an important application scenario for intelligent health computing. To strengthen the technical contribution from the perspective of computer science and technology, this study formulates depression screening as a structured tabular classification problem and develops an interpretable machine learning framework that integrates feature representation, cross-model comparison, hyperparameter optimization, and explainable decision analysis. Using data from the China Health and Retirement Longitudinal Study (CHARLS), we encoded physical activity variables together with multidimensional health indicators to construct a reusable computational pipeline for depression risk prediction. A total of 32,278 participants with complete data were included, and vigorous, moderate, and light physical activity features were transformed into model-ready inputs together with depressive symptoms measured by the CESD-10 scale. Four machine learning algorithms were implemented and comparatively optimized, with emphasis on model selection efficiency, performance transparency, and engineering deployability for medium-scale mixed tabular data. The Logistic Regression model achieved the best predictive performance, with an AUC of 0.775 (95% CI: 0.762-0.788), accuracy of 0.735, and F1-score of 0.556. To improve the transparency and computational interpretability of the framework, SHAP was employed to quantify feature contributions and reveal the decision logic of the optimized model. The results showed that vigorous physical activity ranked 7th among 22 predictors (mean |SHAP| = 0.164), while self-rated health, sleep duration, and functional limitations contributed more strongly to model output. Overall, this study contributes an optimization-oriented and interpretable modeling workflow for structured health data, and demonstrates how machine learning system design, hyperparameter tuning, and explainable AI can be refined for intelligent community mental health screening.