A machine learning-based prediction model for treatment efficacy in smear and/or chest X-ray positive tuberculosis patients

0Citations
Citations of this article
8Readers
Mendeley users who have this article in their library.

This article is free to access.

Abstract

Objective: To develop a machine learning (ML)-based prediction model for tuberculosis (TB) treatment failure, and evaluate the predictive performance and clinical utility. Methods: Patients were randomly allocated to a training set and a validation set in a 7:3 ratio. Data collected included demographic characteristics, clinical features, and laboratory parameters. Univariate analysis and binary logistic regression were applied to the training set to identify factors associated with treatment outcome. Based on common predictive modeling standards, an AUC > 0.8 was considered good, and > 0.9 was considered excellent. Three prediction models—Random Forest (RF), Support Vector Machine (SVM), and K-Nearest Neighbors (KNN)—were constructed. Model performance was evaluated based on accuracy, precision, recall, F1-score, and the area under the receiver operating characteristic curve (AUC). Results: Among 541 enrolled patients, 133 (24.58%) experienced treatment failure (92 [24.27%] in the training set and 41 [25.31%] in the validation set).Cavitation, diabetes comorbidity, radiographic disease extent, TB type (pulmonary vs. extrapulmonary), lymphocyte percentage (LYMPH%), and serum albumin (ALB) level were identified as significant predictors of treatment outcome (P < 0.05). The RF, SVM, and KNN models achieved AUC values of 0.783, 0.707, and 0.668, respectively. Conclusion: The ML-based prediction model shows fair to good predictive performance (AUC up to 0.783), suggesting potential clinical utility with further validation. This model may assist in early risk stratification and support individualized treatment planning for tuberculosis patients. Clinical trial number: Not applicable.

Cite

CITATION STYLE

APA

Cui, X., Fu, W., Wu, X., Peng, Z., & Wu, W. (2026). A machine learning-based prediction model for treatment efficacy in smear and/or chest X-ray positive tuberculosis patients. BMC Infectious Diseases, 26(1). https://doi.org/10.1186/s12879-026-13173-1

Register to see more suggestions

Mendeley helps you to discover research relevant for your work.

Already have an account?

Save time finding and organizing research with Mendeley

Sign up for free