Related Experiment Video
Updated: Sep 18, 2025

Constructing and Visualizing Models using Mime-based Machine-learning Framework
Published on: July 22, 2025
Development, deployment, and feature interpretability of a three-class prediction model for pulmonary diseases
Zhenyu Cao1, Gang Xu2, Yuan Gao1
1Department of Radiology, Tongde Hospital of Zhejiang Province Afflicted to Zhejiang Chinese Medical University (Tongde Hospital of Zhejiang Province), Hangzhou, China.
The XGBoost machine learning model accurately classifies lung diseases, outperforming Random Forest. This advanced model for predicting non-small cell lung cancer and other conditions offers significant clinical utility.
Area of Science:
- Artificial Intelligence in Medicine
- Machine Learning for Medical Imaging
- Pulmonary Disease Diagnostics
Background:
- Accurate classification of pulmonary diseases is crucial for effective treatment.
- Distinguishing between non-small cell lung cancer (NSCLC), granulomatous inflammation, and benign tumors presents a diagnostic challenge.
- Machine learning offers potential for improving diagnostic accuracy in pulmonary medicine.
Purpose of the Study:
- To develop and evaluate a high-performance machine learning model for the classification of pulmonary diseases.
- To compare the efficacy of XGBoost and Random Forest (RF) algorithms in this classification task.
- To interpret the predictive features identified by the models.
Main Methods:
- Retrospective analysis of multicenter clinical and imaging data from 3030 patients.
- Feature selection using the Boruta algorithm.
- Development and validation of Random Forest (RF) and XGBoost models.
- Performance assessment using receiver operating characteristic (ROC) analysis, Obuchowski indices, calibration curves, and decision curve analysis (DCA).
Main Results:
- XGBoost demonstrated superior performance over RF in both the internal test set (Obuchowski index 0.8282 vs. 0.7193) and the external validation set (0.8074 vs. 0.7932).
- XGBoost achieved higher accuracy (0.81 in test set, 0.79 in validation set).
- Decision Curve Analysis indicated XGBoost provided a greater net clinical benefit.
Conclusions:
- The XGBoost model significantly outperforms the Random Forest model for the three-class classification of lung diseases (NSCLC, granulomatous inflammation, benign tumors).
- XGBoost exhibits strong potential for clinical application in diagnosing pulmonary conditions.
- The developed XGBoost model can be deployed on a web-based platform for clinician use.
Related Concept Videos
Classification of Illness
An illness is a response to a disease in which the person's level of functioning is changed compared with a previous level. The general classification of illness includes acute and chronic.
Acute illness is severe...
Prediction Intervals
However, the point estimate is most likely not the exact value of the population parameter, but close to it. After calculating point estimates, we construct interval estimates, called confidence intervals or prediction intervals. This prediction interval comprises a range of values unlike the point estimate and is a better predictor of the observed sample value, y.
Pulmonary Hypertension: Classification and Pathogenesis
There are various classifications for PH, each relating to different underlying causes and also...
Pulmonary Function Tests
Pulmonary Function Tests are crucial diagnostic tools for assessing respiratory function, particularly in patients with chronic respiratory disorders. They comprehensively evaluate lung volumes, ventilatory function, breathing mechanics, diffusion, and gas exchange. These tests help diagnose pulmonary diseases and play a significant role in monitoring disease progression, evaluating disability, and assessing response to therapy.
PFTs involve using a spirometer, a...
Asthma-II: Pathophysiology and Classification
Additionally, environmental and genetic factors play crucial roles in determining an individual's susceptibility to asthma and the severity of their condition.
Critical processes in asthma pathophysiology include:
Sensitivity, Specificity, and Predicted Value
Sensitivity is the...

