Development of a random forest model to classify sarcoidosis and tuberculosis
Jun Ma1, Hongyun Yin2, Xiaohui Hao1
1Department of Tuberculosis and Shanghai Key Lab of Tuberculosis, Shanghai Pulmonary Hospital Affiliated to Tongji University School of Medicine 507 Zhengmin Road, Shanghai 200433, China.
Objective:
To identify significant diagnostic factors and establish a predictive model for diagnosis of sarcoidosis and tuberculosis.
Methods:
This study included 252 patients (123 cases of lung sarcoidosis and 129 cases of lung tuberculosis) who underwent laboratory evaluation, including routine hematologic testing, serum immunology, blood coagulation, angiotensin-converting enzyme, and T lymphocyte subset. The factors that statistically different between the two groups were identified by an independent sample t test first, and then processed by the random forest model to distinguish two diseases with the classification function. Moreover, the diagnostic performance of the predictive random forest model was evaluated through the identification of individual contribution of various diagnostic factors conducted by the model.
Results:
The random forest model revealed a classification error rate of 24.9%. Among all of the statistically significant diagnostic factors, the individual factors with the greatest and second contribution were angiotensin-converting enzyme and prothrombin time, respectively. The area under the receiver operating characteristic (ROC) curve of the random forest prediction model was 0.915.
Conclusion:
The random forest model can be used to distinguish between sarcoidosis and tuberculosis by incorporating statistically significant diagnostic factors, which is of potential clinical application value.
Related Concept Videos
Pulmonary Tuberculosis III
The first classification is based on the development of the disease, and it includes the following categories:
Pulmonary Tuberculosis II
Here is a detailed explanation of its pathophysiology:
Transmission: The process begins when a person inhales droplet nuclei containing M. tuberculosis. These are typically released into the air when an individual with pulmonary or...
Pulmonary Tuberculosis I
Causative Organism
The primary infectious agent causing tuberculosis is Mycobacterium tuberculosis, a slow-growing, acid-fast, aerobic rod that exhibits sensitivity to heat and ultraviolet light. Instances of Mycobacterium bovis and Mycobacterium avium contributing to the development of TB infection are rare.
Mode of...
Pulmonary Tuberculosis V
Latent tuberculosis infection occurs when TB bacteria are present in a person's body, but are not causing illness or symptoms. It is not contagious, and preventive treatment is crucial to avoid the...
Pulmonary Tuberculosis IV
Several diagnostic approaches are used to detect TB. The conventional method is the Tuberculin Skin Test (TST), also known as the Mantoux test. However, this method has...
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...


