Construction of risk prediction model for depressive state in patients with postherpetic neuralgia based on machine learning algorithm
10.3969/j.issn.1671-8348.2024.24.006
- VernacularTitle:基于机器学习算法的带状疱疹后神经痛患者抑郁状态风险预测模型构建
- Author:
Lin ZHANG
1
;
Xintong WEI
;
Yong LIU
;
Li LI
;
Weijun YI
Author Information
1. 陆军军医大学第二附属医院疼痛与康复医学科,重庆 400037
- Keywords:
postherpetic neuralgia;
machine learning;
depressive state;
risk factor;
prediction model
- From:
Chongqing Medicine
2024;53(24):3714-3719
- CountryChina
- Language:Chinese
-
Abstract:
Objective To construct a risk prediction model for depression in the patients with posther-petic neuralgia(PHN)based on machine learning algorithm to provide a new idea and method for accurate prediction of depressive state occurrence in clinical PHN patients.Methods The inpatients with PHN in the Second Affiliated Hospital of Army Military Medical University from June 2022 to June 2023 were selected as the study subjects and randomly divided into the training set and test set according to the ratio of 8∶2,and whether or not the depressive state occurring served as the outcome variable.Based on six machine learning al-gorithms of K-Nearest Neighbor(KNN),Decision Tree(DT),Logistic Regression(LR),Naive Bayes(NB),Random Forest(RF)and Support Vector Machine(SVM),a risk prediction model for PHN patients with complicating depressive state was constructed.The model performance was evaluated based on the area under the curve(AUC),accuracy,precision,recall rate and F1 score,and the optimal model was selected.Results A total of 275 PHN patients were included,among them 170 cases developed the depressive state,and the inci-dence rate of depressive state was 61.82%.The AUC values of KNN,DT,LR,NB,RF and SVM models were 0.574,0.589,0.760,0.742,0.591 and 0.733,respectively,among which the AUC value,accuracy,precision,recall rate and F1 score of LR model were the highest.Conclusion The risk prediction model of PHN compli-cating depressive state based on LR machine learning algorithm has the best performance,which is helpful for early clinical assessment and prevention of depressive state.