Distinguishing nontuberculous mycobacterial pulmonary disease from pulmonary tuberculosis using visual machine learning: a Chinese multicenter prospective surveillance cohort study.
Chucai Wu, Jiaojiao Wei, Fuzhen Zhang, Yaoju Tan, Yu Pang, Ling Li
School of Public Health, Guangdong Medical University, Dongguan, 523808, PR China. · School of Public Health (Shenzhen), Shenzhen Key Laboratory of Pathogenic Microbes and Biosafety, Shenzhen Campus of Sun Yat-sen University, Sun Yat-sen University, Guangdong, 518107, P.R. China.
Key points
From the paper's conclusion- Logistic regression and LGB models demonstrated effective accuracy and stability in external validation, and their visualization and interpretability analyses provide auxiliary evidence for the rapid clinical differentiation between NTM-PD and PTB.
Abstract
BACKGROUND: Nontuberculous mycobacteria (NTM) are opportunistic pathogens. In recent years, the incidence of NTM diseases has increased significantly worldwide. Nontuberculous mycobacterial pulmonary disease (NTM-PD) is highly similar to pulmonary tuberculosis (PTB) in clinical presentation, imaging features, and sputum smear microscopy results, which can easily cause misdiagnosis. Notably, there are significant differences between the anti-infective treatment regimens for NTM-PD and PTB; however, effective differential diagnostic methods are currently lacking, seriously limiting the standardized treatment of NTM diseases. OBJECTIVE: This study aimed to distinguish NTM-PD from PTB using a visual machine learning approach. METHODS: This study employed a prospective cohort design to conduct prospective national surveillance of NTM-PD in 17 hospitals participating in the China Non-Tuberculous Mycobacteria Surveillance (CNTMS). A total of 6694 patients were included in the analysis, NTM-PD was considered a positive event. Visual models based on logistic regression (LR) and a gradient boosting framework using tree-based learning algorithms (LightGBM, LGB) were developed using important predictive features such as bronchiectasis, diabetes, and geographic region. Model performance was evaluated using sensitivity, specificity, and the area under the curve (AUC). Model predictions were interpreted using SHAP (a method that explains which features drive each prediction). RESULTS: Nine characteristics, including bronchodilation, diabetes, HIV, etc., were screened as key variables for distinguish NTM-PD and PTB. The AUC values of Logistic regression and LightGBM models in the training set were 0.714 (95%CI: 0.679 ~ 0.749) and 0.862 (95%CI: 0.843 ~ 0.882), respectively. In the two external test sets, the average AUC values of logistic regression model and LightGBM model were 0.789 (95%CI: 0.728-0.851) and 0.798 (95%CI: 0.743-0.851), respectively. Nomogram visualization identified bronchiectasis, HIV infection, COPD, and geographic region as the major contributors to the predictive score. SHAP visualization revealed geographic region, diabetes, and occupation as the most influential features for model prediction. CONCLUSIONS: Logistic regression and LGB models demonstrated effective accuracy and stability in external validation, and their visualization and interpretability analyses provide auxiliary evidence for the rapid clinical differentiation between NTM-PD and PTB.
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
- 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
- A parsimonious machine-learning model using routine laboratory data to differentiate nontuberculous mycobacterial disease from tuberculosis: Development and independent external validation.Diagnostic microbiology and infectious disease · 2026
- Pulmonary Nontuberculous Mycobacterial Disease in a Tuberculosis-Endemic Setting: Two Cases Illustrating Diagnostic Pitfalls.Reports (MDPI) · 2026
- Whole-Lung Computed Tomography Radiomics-Based Machine Learning Classification of Nontuberculous Mycobacterial Lung Disease Across Geographically Distinct Cohorts.Chronic obstructive pulmonary diseases (Miami, Fla.) · 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