Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia

Rao Wei,1,* Kexin Li,1,* Huaguang Wang,1 Xinbo Cai,1 Nian Liu,2 Zhuoling An,1 Hong Zhou1 1Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China; 2Hematology Department of Beijing Chao-Yang Hospital, Capital Medical...

Full description

Saved in:
Bibliographic Details
Main Authors: Wei R, Li K, Wang H, Cai X, Liu N, An Z, Zhou H
Format: Article
Language:English
Published: Dove Medical Press 2025-05-01
Series:Infection and Drug Resistance
Subjects:
Online Access:https://www.dovepress.com/using-machine-learning-to-predict-linezolid-associated-thrombocytopeni-peer-reviewed-fulltext-article-IDR
Tags: Add Tag
No Tags, Be the first to tag this record!
_version_ 1849430964592181248
author Wei R
Li K
Wang H
Cai X
Liu N
An Z
Zhou H
author_facet Wei R
Li K
Wang H
Cai X
Liu N
An Z
Zhou H
author_sort Wei R
collection DOAJ
description Rao Wei,1,* Kexin Li,1,* Huaguang Wang,1 Xinbo Cai,1 Nian Liu,2 Zhuoling An,1 Hong Zhou1 1Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China; 2Hematology Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China*These authors contributed equally to this workCorrespondence: Zhuoling An, Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China, Email anzhuoling@163.com Hong Zhou, Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China, Email Zhhz0513@163.comObjective: Using artificial intelligence and machine learning to predict linezolid-induced thrombocytopenia helps identify related risk factors in patients.Methods: Between January 2020 and December 2023, 284 patients receiving linezolid from Beijing Chaoyang Hospital were enrolled. The data underwent filtering to ensure completeness and quality. The filtered data were then randomly divided into training and validation sets at a 3:1 ratio using stratified sampling. Four machine learning methods-logistic regression, Lasso regression, support vector machine (SVM), and random forest-were employed to develop predictive models on the training set, with optimal hyperparameters determined through grid search. Model performance was assessed via 10 - fold cross - validation on the training set, and the model with the highest AUC was selected. The chosen model was further validated on the independent validation set, with AUC, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) calculated.Results: During treatment with linezolid, 42 (14.8%) of the 284 patients developed thrombocytopenia, with an average onset of 12.0± 5.6 days after starting linezolid therapy. The random forest model demonstrated the best performance, with an AUC of 0.902 (95% CI 0.814– 0.991) in the validation set. This model achieved a sensitivity of 81.8%, specificity of 86.9%, positive predictive value (PPV) of 52.9%, and negative predictive value (NPV) of 96.4%.Conclusion: We developed a machine learning model to predict linezolid-associated thrombocytopenia, with the random forest model achieving an AUC of 0.902. This model can help clinicians assess patient risk and optimize treatment plans. Future work should validate the model in multicenter studies and explore its integration into clinical decision support systems.Keywords: linezolid, thrombocytopenia, machine learning, risk factors
format Article
id doaj-art-4f7e07be1d9c477baf33f9285a039b89
institution Kabale University
issn 1178-6973
language English
publishDate 2025-05-01
publisher Dove Medical Press
record_format Article
series Infection and Drug Resistance
spelling doaj-art-4f7e07be1d9c477baf33f9285a039b892025-08-20T03:27:48ZengDove Medical PressInfection and Drug Resistance1178-69732025-05-01Volume 18Issue 126532661103237Using Machine Learning to Predict Linezolid-Associated ThrombocytopeniaWei R0Li KWang H1Cai XLiu N2An Z3Zhou H4Department of Pharmaceutical AffairsPharmacy Department of Beijing Chao-Yang HospitalHematology departmentDepartment of PharmacyPharmacy Department of Beijing Chao-Yang HospitalRao Wei,1,* Kexin Li,1,* Huaguang Wang,1 Xinbo Cai,1 Nian Liu,2 Zhuoling An,1 Hong Zhou1 1Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China; 2Hematology Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China*These authors contributed equally to this workCorrespondence: Zhuoling An, Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China, Email anzhuoling@163.com Hong Zhou, Pharmacy Department of Beijing Chao-Yang Hospital, Capital Medical University, Beijing, People’s Republic of China, Email Zhhz0513@163.comObjective: Using artificial intelligence and machine learning to predict linezolid-induced thrombocytopenia helps identify related risk factors in patients.Methods: Between January 2020 and December 2023, 284 patients receiving linezolid from Beijing Chaoyang Hospital were enrolled. The data underwent filtering to ensure completeness and quality. The filtered data were then randomly divided into training and validation sets at a 3:1 ratio using stratified sampling. Four machine learning methods-logistic regression, Lasso regression, support vector machine (SVM), and random forest-were employed to develop predictive models on the training set, with optimal hyperparameters determined through grid search. Model performance was assessed via 10 - fold cross - validation on the training set, and the model with the highest AUC was selected. The chosen model was further validated on the independent validation set, with AUC, sensitivity, specificity, positive predictive value (PPV), and negative predictive value (NPV) calculated.Results: During treatment with linezolid, 42 (14.8%) of the 284 patients developed thrombocytopenia, with an average onset of 12.0± 5.6 days after starting linezolid therapy. The random forest model demonstrated the best performance, with an AUC of 0.902 (95% CI 0.814– 0.991) in the validation set. This model achieved a sensitivity of 81.8%, specificity of 86.9%, positive predictive value (PPV) of 52.9%, and negative predictive value (NPV) of 96.4%.Conclusion: We developed a machine learning model to predict linezolid-associated thrombocytopenia, with the random forest model achieving an AUC of 0.902. This model can help clinicians assess patient risk and optimize treatment plans. Future work should validate the model in multicenter studies and explore its integration into clinical decision support systems.Keywords: linezolid, thrombocytopenia, machine learning, risk factorshttps://www.dovepress.com/using-machine-learning-to-predict-linezolid-associated-thrombocytopeni-peer-reviewed-fulltext-article-IDRlinezolidthrombocytopeniamachine learningrisk factors
spellingShingle Wei R
Li K
Wang H
Cai X
Liu N
An Z
Zhou H
Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
Infection and Drug Resistance
linezolid
thrombocytopenia
machine learning
risk factors
title Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
title_full Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
title_fullStr Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
title_full_unstemmed Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
title_short Using Machine Learning to Predict Linezolid-Associated Thrombocytopenia
title_sort using machine learning to predict linezolid associated thrombocytopenia
topic linezolid
thrombocytopenia
machine learning
risk factors
url https://www.dovepress.com/using-machine-learning-to-predict-linezolid-associated-thrombocytopeni-peer-reviewed-fulltext-article-IDR
work_keys_str_mv AT weir usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT lik usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT wangh usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT caix usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT liun usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT anz usingmachinelearningtopredictlinezolidassociatedthrombocytopenia
AT zhouh usingmachinelearningtopredictlinezolidassociatedthrombocytopenia