{"title":"Explainable machine learning models for identifying mild cognitive impairment in older patients with chronic pain.","authors":"Xiaoang Zhang, Yuping Liao, Daying Zhang, Weichen Liu, Zhijian Wang, Yaxin Jin, Shushu Chen, Jianmei Wei","doi":"10.1186/s12912-025-02723-8","DOIUrl":null,"url":null,"abstract":"<p><strong>Background: </strong>Mild cognitive impairment (MCI) is prevalent in older adults with chronic pain, making early detection crucial for dementia prevention and healthy aging. This study aimed to determine MCI risk factors in older patients with chronic pain and to develop 9 machine learning models to identify MCI risk.</p><p><strong>Methods: </strong>A total of 612 older patients with chronic pain were recruited between October 2023 and July 2024. Data collected included patients' general information, cognitive function, pain level, depression, and sleep quality. The dataset was randomly divided into training set and testing set, and processed by Min-Max Normalization and SMOTETomek comprehensive sampling. SVM-RFE and LASSO regression were used for variable selection. We then developed machine learning models and interpreted them by SHAP.</p><p><strong>Results: </strong>Age, education level, number of pain sites, pain duration, pain level, depression and sleep quality were risk factors of MCI in older patients with chronic pain. The Extreme Gradient Boosting (XGBoost) model performed best (AUC 0.925), with pain level, age, and depression as the most important variables.</p><p><strong>Conclusions: </strong>We successfully developed 9 machine learning models to identify MCI risk. These models provide a tool for nurses to detect MCI risk early. We recommend that nurses integrate machine learning techniques into clinical nursing practice for managing MCI. However, these findings require validation with longitudinal data to confirm predictive validity for MCI progression.</p>","PeriodicalId":48580,"journal":{"name":"BMC Nursing","volume":"24 1","pages":"72"},"PeriodicalIF":3.1000,"publicationDate":"2025-01-21","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"https://www.ncbi.nlm.nih.gov/pmc/articles/PMC11748277/pdf/","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"BMC Nursing","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1186/s12912-025-02723-8","RegionNum":2,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q1","JCRName":"NURSING","Score":null,"Total":0}
引用次数: 0
Abstract
Background: Mild cognitive impairment (MCI) is prevalent in older adults with chronic pain, making early detection crucial for dementia prevention and healthy aging. This study aimed to determine MCI risk factors in older patients with chronic pain and to develop 9 machine learning models to identify MCI risk.
Methods: A total of 612 older patients with chronic pain were recruited between October 2023 and July 2024. Data collected included patients' general information, cognitive function, pain level, depression, and sleep quality. The dataset was randomly divided into training set and testing set, and processed by Min-Max Normalization and SMOTETomek comprehensive sampling. SVM-RFE and LASSO regression were used for variable selection. We then developed machine learning models and interpreted them by SHAP.
Results: Age, education level, number of pain sites, pain duration, pain level, depression and sleep quality were risk factors of MCI in older patients with chronic pain. The Extreme Gradient Boosting (XGBoost) model performed best (AUC 0.925), with pain level, age, and depression as the most important variables.
Conclusions: We successfully developed 9 machine learning models to identify MCI risk. These models provide a tool for nurses to detect MCI risk early. We recommend that nurses integrate machine learning techniques into clinical nursing practice for managing MCI. However, these findings require validation with longitudinal data to confirm predictive validity for MCI progression.
期刊介绍:
BMC Nursing is an open access, peer-reviewed journal that considers articles on all aspects of nursing research, training, education and practice.