Jiangchuan Xie, Pan Ma, Xinmei Pan, Liya Cao, Ruixiang Liu, Lirong Xiong, Hongqian Wang, Xin Zhang, Linli Xie, Yongchuan Chen
{"title":"癫痫治疗中丙戊酸实时预测的集成机器学习模型。","authors":"Jiangchuan Xie, Pan Ma, Xinmei Pan, Liya Cao, Ruixiang Liu, Lirong Xiong, Hongqian Wang, Xin Zhang, Linli Xie, Yongchuan Chen","doi":"10.1055/a-2593-3125","DOIUrl":null,"url":null,"abstract":"<p><p>To develop an optimal model to predict valproic acid (VPA) concentrations by machine learning, ensuring that the VPA plasma concentration is in the effective treatment range, and thus effectively control the patient's epilepsy.This single-center, retrospective study included patients diagnosed with epilepsy from January 2014 to January 2022. Patients receiving VPA and having undergone therapeutic drug monitoring were enrolled. Top three algorithms exhibiting superior model performance were selected to establish the ensemble prediction model, with Shapley Additive exPlanations (SHAP) employed for model interpretation. An independent dataset was collected as a clinical validation group to verify the prediction model performance.The algorithms chosen for the ensemble model-Light Gradient Boosting, Categorical Boosting, and Gradient Boosted Regression Trees-demonstrated high <i>R</i> <sup>2</sup> (0.549, 0.515, and 0.503, respectively). Post-feature selection, the final model incorporated 20 variables, proving superior in predictive performance compared to models considering all 24 variables. The <i>R</i> <sup>2</sup> , mean absolute error, mean square error, absolute accuracy (±20 mg/L), and relative accuracy (±20%) of external validation were 0.621, 10.67, 221.50, 78.98%, and 66.48%, respectively. The importance and direction of each variable were visually represented using SHAP values, with VPA administration and liver function emerging as the most significant factors.The innovative application harnesses advanced multi-algorithm mining methodologies to forecast VPA concentrations in adult epileptic patients. Furthermore, it employs SHAP to elucidate the nuanced influence of each feature within the integrated prediction model, thereby providing a robust and plausible explanation for the determinants affecting VPA concentration predictions.</p>","PeriodicalId":19783,"journal":{"name":"Pharmacopsychiatry","volume":" ","pages":""},"PeriodicalIF":2.2000,"publicationDate":"2025-06-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":"{\"title\":\"Ensemble Machine Learning Model for Real-Time Valproic Acid Prediction in Epilepsy Treatment.\",\"authors\":\"Jiangchuan Xie, Pan Ma, Xinmei Pan, Liya Cao, Ruixiang Liu, Lirong Xiong, Hongqian Wang, Xin Zhang, Linli Xie, Yongchuan Chen\",\"doi\":\"10.1055/a-2593-3125\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"<p><p>To develop an optimal model to predict valproic acid (VPA) concentrations by machine learning, ensuring that the VPA plasma concentration is in the effective treatment range, and thus effectively control the patient's epilepsy.This single-center, retrospective study included patients diagnosed with epilepsy from January 2014 to January 2022. Patients receiving VPA and having undergone therapeutic drug monitoring were enrolled. Top three algorithms exhibiting superior model performance were selected to establish the ensemble prediction model, with Shapley Additive exPlanations (SHAP) employed for model interpretation. An independent dataset was collected as a clinical validation group to verify the prediction model performance.The algorithms chosen for the ensemble model-Light Gradient Boosting, Categorical Boosting, and Gradient Boosted Regression Trees-demonstrated high <i>R</i> <sup>2</sup> (0.549, 0.515, and 0.503, respectively). Post-feature selection, the final model incorporated 20 variables, proving superior in predictive performance compared to models considering all 24 variables. The <i>R</i> <sup>2</sup> , mean absolute error, mean square error, absolute accuracy (±20 mg/L), and relative accuracy (±20%) of external validation were 0.621, 10.67, 221.50, 78.98%, and 66.48%, respectively. The importance and direction of each variable were visually represented using SHAP values, with VPA administration and liver function emerging as the most significant factors.The innovative application harnesses advanced multi-algorithm mining methodologies to forecast VPA concentrations in adult epileptic patients. Furthermore, it employs SHAP to elucidate the nuanced influence of each feature within the integrated prediction model, thereby providing a robust and plausible explanation for the determinants affecting VPA concentration predictions.</p>\",\"PeriodicalId\":19783,\"journal\":{\"name\":\"Pharmacopsychiatry\",\"volume\":\" \",\"pages\":\"\"},\"PeriodicalIF\":2.2000,\"publicationDate\":\"2025-06-02\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"0\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"Pharmacopsychiatry\",\"FirstCategoryId\":\"3\",\"ListUrlMain\":\"https://doi.org/10.1055/a-2593-3125\",\"RegionNum\":3,\"RegionCategory\":\"医学\",\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"Q2\",\"JCRName\":\"PHARMACOLOGY & PHARMACY\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"Pharmacopsychiatry","FirstCategoryId":"3","ListUrlMain":"https://doi.org/10.1055/a-2593-3125","RegionNum":3,"RegionCategory":"医学","ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"Q2","JCRName":"PHARMACOLOGY & PHARMACY","Score":null,"Total":0}
Ensemble Machine Learning Model for Real-Time Valproic Acid Prediction in Epilepsy Treatment.
To develop an optimal model to predict valproic acid (VPA) concentrations by machine learning, ensuring that the VPA plasma concentration is in the effective treatment range, and thus effectively control the patient's epilepsy.This single-center, retrospective study included patients diagnosed with epilepsy from January 2014 to January 2022. Patients receiving VPA and having undergone therapeutic drug monitoring were enrolled. Top three algorithms exhibiting superior model performance were selected to establish the ensemble prediction model, with Shapley Additive exPlanations (SHAP) employed for model interpretation. An independent dataset was collected as a clinical validation group to verify the prediction model performance.The algorithms chosen for the ensemble model-Light Gradient Boosting, Categorical Boosting, and Gradient Boosted Regression Trees-demonstrated high R2 (0.549, 0.515, and 0.503, respectively). Post-feature selection, the final model incorporated 20 variables, proving superior in predictive performance compared to models considering all 24 variables. The R2 , mean absolute error, mean square error, absolute accuracy (±20 mg/L), and relative accuracy (±20%) of external validation were 0.621, 10.67, 221.50, 78.98%, and 66.48%, respectively. The importance and direction of each variable were visually represented using SHAP values, with VPA administration and liver function emerging as the most significant factors.The innovative application harnesses advanced multi-algorithm mining methodologies to forecast VPA concentrations in adult epileptic patients. Furthermore, it employs SHAP to elucidate the nuanced influence of each feature within the integrated prediction model, thereby providing a robust and plausible explanation for the determinants affecting VPA concentration predictions.
期刊介绍:
Covering advances in the fi eld of psychotropic drugs, Pharmaco psychiatry provides psychiatrists, neuroscientists and clinicians with key clinical insights and describes new avenues of research and treatment. The pharmacological and neurobiological bases of psychiatric disorders are discussed by presenting clinical and experimental research.