中国老年高血压患者抑郁发生风险的可解释机器学习预测模型构建:基于CHARLS数据的队列研究OA
Construction of an Interpretable Machine Learning Prediction Model for the Risk of Depression in Elderly Hypertensive Patients in China:a Cohort Study Based on CHARLS Data
目的 运用机器学习算法构建中国老年高血压患者抑郁发生风险的预测模型,筛选最优机器学习模型并进行解释.方法 1 692例老年高血压患者数据来自2018、2020年中国健康与退休纵向研究(CHARLS)数据库.在2020年CHARLS数据库中,收集患者抑郁量表10项版(CESD-10)评分,以CESD-10评分≥10分为发生抑郁,根据患者是否发生抑郁将其分为抑郁组(n=515)和非抑郁组(n=1 177).在2018年CHARLS数据库中,收集患者社会人口学特征、行为因素及临床特征.采用LASSO回归分析筛选特征变量.将1 692例老年高血压患者按照7∶3的比例随机分为训练集(n=1 184)和验证集(n=508).在训练集中分别构建决策树、随机森林、极端梯度提升树、K近邻算法、支持向量机、逻辑回归、朴素贝叶斯模型,然后在验证集中筛选最优机器学习模型.采用Shapley加法解释(SHAP)对最优机器学习模型进行可解释性分析.结果 LASSO回归分析结果显示,最终筛选出9个特征变量,分别为居住地、受教育程度、退休、自我感知健康状况、日常生活活动能力(ADL)量表评分、肺病、头痛、腰痛、生活满意度.基于上述9个特征变量,在训练集中分别构建决策树、随机森林、极端梯度提升树、K近邻算法、支持向量机、逻辑回归、朴素贝叶斯模型,且在验证集中,逻辑回归模型的准确度、灵敏度、精准度、AUC最高,支持向量机模型的特异度最高,朴素贝叶斯模型的F1得分最高,K近邻算法模型的校准AUC最高,综合评价,逻辑回归模型为最优机器学习模型.SHAP分析结果显示,在逻辑回归模型中,SHAP值从高到低的特征变量依次为自我感知健康状况(-0.201)、生活满意度(-0.194)、受教育程度(-0.173)、腰痛(0.150)、居住地(0.134)、退休(-0.119)、头痛(0.096)、ADL量表评分(0.093)、肺病(0.076).结论 本研究基于自我感知健康状况、生活满意度、受教育程度、腰痛、居住地、退休、头痛、ADL量表评分、肺病构建了7种中国老年高血压患者抑郁发生风险的机器学习预测模型,其中逻辑回归模型最优.
Objective To construct prediction models for the risk of depression in elderly hypertensive patients in China by machine learning algorithms,and screen and explain the best machine learning model.Methods The data of 1 692 elderly patients with hypertension were from the China Health and Retirement Longitudinal Study(CHARLS)database in 2018 and 2020.In the 2020 database,the Center for Epidemiologic Studies Depression Scale-10(CESD-10)scores of patients were collected.Patients with a CESD-10 score≥10 were classified as having depression,and were divided into the depression group(n=515)and the non-depression group(n=1 177)according to whether depression occurred.In the 2018 CHARLS database,the socio-demographic characteristics,behavioral factors and clinical characteristics of patients were collected;LASSO regression analysis was used to screen the characteristic variables.A total of 1 692 elderly patients with hypertension were randomly divided into the training set(n=1 184)and the validation set(n=508)according to the ratio of 7∶3.In the training set,decision tree,random forest,extreme gradient boosting tree,K nearest neighbor algorithm,support vector machine,Logistic regression and naive Bayesian models were constructed respectively,and then the optimal machine learning model was selected in the validation set.The interpretability of the optimal machine learning model was analyzed by Shapley additive explanations(SHAP).Results The results of LASSO regression analysis showed that 9 characteristic variables were finally selected,namely,place of residence,education level,retirement,self-perceived health status,Activity of Daily Living(ADL)Scale score,lung disease,headache,low back pain,and life satisfaction.Based on the above nine characteristic variables,the decision tree,random forest,extreme gradient boosting tree,K-nearest neighbor algorithm,support vector machine,Logistic regression and naive Bayesian models were constructed in the training set.In the validation set,the accuracy,sensitivity,accuracy,AUC of the Logistic regression model were the highest,the specificity of the support vector machine model was the highest,the F1 score of the naive Bayesian model was the highest,and the calibration AUC of the K-nearest neighbor algorithm model was the highest.Comprehensive evaluation,the Logistic regression model was the optimal machine learning model.The results of SHAP analysis showed that in the Logistic regression model,the characteristic variables with SHAP values from high to low were self-perceived health status(-0.201),life satisfaction(-0.194),education level(-0.173),low back pain(0.150),place of residence(0.134),retirement(-0.119),headache(0.096),ADL Scale score(0.093),lung disease(0.076).Conclusion In this study,seven machine learning prediction models for the risk of depression in elderly patients with hypertension in China were constructed based on self-perceived health status,life satisfaction,education level,low back pain,place of residence,retirement,headache,ADL Scale score,and lung disease,among which the Logistic regression model is optimal.
林博;袁杭滔;刘迪;胡慧;郑入文
100029 北京市,北京中医药大学第二临床医学院100029 北京市,北京中医药大学第二临床医学院100078 北京市,北京中医药大学东方医院针灸科100078 北京市,北京中医药大学东方医院针灸科100078 北京市,北京中医药大学东方医院针灸科
医药卫生
高血压抑郁老年人中国机器学习Shapley加法解释
HypertensionDepressionElderlyChinaMachine learningShapley additive explanation
《实用心脑肺血管病杂志》 2026 (5)
16-21,6
北京中医药大学2023年度揭榜挂帅项目(2023-JYB-JBZD-025)北京中医药大学东方医院高水平能力建设项目"国自然培育计划"——国家级人才培育项目(DFGZRA-2024GJRC007)
评论