Predicting and improving diagnosis of tuberculosis outcomes in South Africa using machine learning techniques
Moses Asori1,2, Desmond Mbe-Nyire Mpuure3, Daniel Katey4
1Department of Earth, Environmental and Geographical Sciences, University of North Carolina, Charlotte, United States of America.
Abstract:
The Ministry of Health and Social Welfare of South Africa has made significant efforts to combat tuberculosis (TB), guided by the National Strategic Plan for addressing HIV, STIs, and TB. However, progress in preventing and eradicating TB has been seriously hindered by reliance on ineffective diagnostic methods. This study aimed to predict and improve TB diagnosis in South Africa using machine learning techniques. Data from the National Income Dynamics Survey, conducted by the Southern African Labour and Development Research Units, were analyzed. The dataset underwent a 70:30 train-test split for Random Forest (RF), Decision Trees (DTs), Support Vector Machines (SVMs), Gradient Boosting Machines (GBMs), Artificial Neural Networks (ANNs), and Logistic Regression (LR). Hyperparameter tuning and impurity-based measures were employed to rank variable importance. RF achieved 87.50% sensitivity and an F1-score of 92.5%. DT achieved a sensitivity of 90.92% and an F1-score of 93.01%. ANN yielded 81.72% sensitivity and an F1-score of 87.53%. SGBMs showed 91.32% sensitivity and 94.55% F1-score. SVMs showed 90.03% sensitivity and 97.72% F1-score. LR achieved a sensitivity of 96.55% and an F1-score of 96.80%. Machine Learning (ML) techniques, with accuracy rates of more than 80% present a significant opportunity for enhancing TB prediction and diagnosis in South Africa. This predictive technique may be beneficial in resource-constrained settings, including those in sub-Saharan Africa.
Related Concept Videos
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...
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 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...
Steps in Outbreak Investigation
Pulmonary Tuberculosis III
The first classification is based on the development of the disease, and it includes the following categories:


