Developing a machine learning-based predictive model for the analgesic effectiveness of transdermal fentanyl in cancer patients: an interpretable approach
BackgroundCancer-related pain is a common and distressing symptom in patients with malignant tumors, significantly affecting quality of life. Transdermal fentanyl is a convenient opioid option for patients with intestinal obstruction or difficulty swallowing; however, some patients do not experience adequate pain relief. Predicting transdermal fentanyl analgesic effectiveness is crucial to optimize pain management.AimThis study aimed to develop a predictive model for transdermal fentanyl effectiveness in cancer patients.MethodClinical data from adult cancer pain patients at Chongqing University Cancer Hospital were analyzed (January 2020-December 2022). Logistic regression and feature selection were applied, followed by developing nine predictive models using Logistic Regression, Random Forest (RF), and Extreme Gradient Boosting. The receiver operating characteristic (ROC) curves, the Youden index, and the Brier score were used to evaluate the performance of the model. Cross-validation and SHapley Additive exPlanations (SHAP) analysis were used for validation and feature interpretation.ResultsAmong 151 patients, 27.2% reported ineffectiveness of transdermal fentanyl. Logistic regression identified key factors of NRS, transdermal fentanyl dosage, BMI2, and ALT. Among the nine models, RF Model 8 exhibited the best performance, achieving a ROC-AUC of 0.984 (95% CI: [0.968, 0.999]). This performance was further validated by the confusion matrix metrics and visualization results. The SHAP analysis highlighted lower doses, NRS, and ALT as predictors of transdermal fentanyl ineffectiveness.ConclusionThe Random Forest model offers a valuable tool for predicting the effectiveness of transdermal fentanyl in cancer pain patients, supporting the refined assessment and management of pain.
基金:
Technology Innovation and Application Development Project of Shapingba, Chongqing, China [2023120]; Natural Science Foundation of Chongqing, China [cstc2021jcyj-msxmX0467]; Science- Health Joint Medical Scientific Research Project of Chongqing [2024QNXM016, 2024ZDXM025]; Project of Chongqing Health Commission Medical Scientific Research [2024WSJK095]; Fundamental Research Funds for the Central Universities [2021CDJYGRH-014]
第一作者机构:[1]Chongqing Jiulongpo Peoples Hosp, Dept Pharm, Chongqing, Peoples R China
共同第一作者:
通讯作者:
推荐引用方式(GB/T 7714):
Hu Xiaogang,Chen Ya,Tang Yuelu,et al.Developing a machine learning-based predictive model for the analgesic effectiveness of transdermal fentanyl in cancer patients: an interpretable approach[J].INTERNATIONAL JOURNAL OF CLINICAL PHARMACY.2025,doi:10.1007/s11096-024-01860-5.
APA:
Hu, Xiaogang,Chen, Ya,Tang, Yuelu,Wang, Xiaoxiao,Li, Lixian...&Chen, Wanyi.(2025).Developing a machine learning-based predictive model for the analgesic effectiveness of transdermal fentanyl in cancer patients: an interpretable approach.INTERNATIONAL JOURNAL OF CLINICAL PHARMACY,,
MLA:
Hu, Xiaogang,et al."Developing a machine learning-based predictive model for the analgesic effectiveness of transdermal fentanyl in cancer patients: an interpretable approach".INTERNATIONAL JOURNAL OF CLINICAL PHARMACY .(2025)