A parsimonious machine-learning model using routine laboratory data to differentiate nontuberculous mycobacterial disease from tuberculosis: Development and independent external validation.
Rui Zhang, Zeqing Yang, Yi Ding, Tiesheng Han, Guoying Zheng, Qi Ren
School of Public Health, North China University of Science and Technology, No 21 Bohai Avenue, Caofeidian New City, Tangshan, Hebei 063210, China. · School of Public Health, North China University of Science and Technology, No 21 Bohai Avenue, Caofeidian New City, Tangshan, Hebei 063210, China. Electronic address: zhengying0918@aliyun.com.
Key points
From the paper's conclusion- We developed an eight-variable Extra Trees model in Hospital A (n = 1,090; 130 NTM) and independently evaluated the frozen model in Hospital B (n = 1,160; 128 NTM).
Abstract
In tuberculosis-endemic settings, suspected mycobacterial disease may reflect either nontuberculous mycobacteria (NTM) or Mycobacterium tuberculosis (MTB), yet routine clinical findings do not reliably distinguish them before pathogen-specific confirmation. We developed an eight-variable Extra Trees model in Hospital A (n = 1,090; 130 NTM) and independently evaluated the frozen model in Hospital B (n = 1,160; 128 NTM). Internal out-of-fold (OOF) AUC/AUPRC were 0.892/0.588; external AUC/AUPRC were 0.849/0.505. Calibrated Brier scores were 0.072 and 0.075. At the Hospital A-derived threshold of 0.13179, sensitivity/specificity were 80.0%/80.3% internally and 67.2%/83.7% externally; 42 of 128 external NTM cases were classified below threshold. Because feature selection preceded the original OOF evaluation, a post-hoc fully nested analysis was performed (AUC 0.875; AUPRC 0.525), indicating modest internal optimism. A post-hoc benchmark did not show an overall advantage for Extra Trees over other algorithms. Routine variables may help prioritize confirmatory testing, but the frozen threshold cannot support stand-alone diagnosis or exclusion of NTM. Prospective evaluation must verify patient-level measurement timing, reference diagnoses and clinical impact.
Read the paper
Discussion
Science Skim's AI key points, plus readers' public thoughts
Readers' thoughts
No reader thoughts yet.
Related papers
- Differentiating Nontuberculous Mycobacterial Lung Disease from Pulmonary Tuberculosis: A Retrospective Study on Clinical Features and a Diagnostic Model.Journal of clinical medicine · 2026
- Distinguishing nontuberculous mycobacterial pulmonary disease from pulmonary tuberculosis using visual machine learning: a Chinese multicenter prospective surveillance cohort study.BMC pulmonary medicine · 2026
- Development and validation of machine learning diagnostic models integrating clinical, CT, and laboratory features to differentiate lung cancer from pulmonary tuberculosis in patients with solitary pulmonary nodules: a single-center retrospective study.Translational lung cancer research · 2026
- Analytical and clinical performance evaluation of the STANDARD™ M10 MTB/NTM assay for the simultaneous detection of Mycobacterium tuberculosis and nontuberculous mycobacteria.Diagnostic microbiology and infectious disease · 2026
- A Nutritional-Inflammatory Composite Score to Support Nursing Risk Stratification in Suspected Multidrug-Resistant Tuberculosis Patients: Implications for Identifying Nontuberculous Mycobacterial Pulmonary Disease.Journal of global antimicrobial resistance · 2026
- Non-tuberculous Mycobacteria in TB-suspected patients: a clinical, epidemiological and genetic study.Journal of infection in developing countries · 2026