Tackling Tuberculosis: A Comparative Dive into Machine Learning for Tuberculosis Detection

Tackling Tuberculosis: A Comparative Dive into Machine Learning for Tuberculosis Detection

Publication date: Dec 01, 2025

This study explores the application of machine learning models, specifically a pretrained ResNet-50 model and a general SqueezeNet model, in diagnosing tuberculosis (TB) using chest X-ray images. TB, a persistent infectious disease affecting humanity for millennia, poses challenges in diagnosis, especially in resource-limited settings. Traditional methods, such as sputum smear microscopy and culture, are inefficient, prompting the exploration of advanced technologies like deep learning and computer vision. The study utilized a dataset from Kaggle, consisting of 4,200 chest X-rays, to develop and compare the performance of the two machine learning models. Preprocessing involved data splitting, augmentation, and resizing to enhance training efficiency. Evaluation metrics, including accuracy, precision, recall, and confusion matrix, were employed to assess model performance. Results showcase that the SqueezeNet achieved a loss of 32%, accuracy of 89%, precision of 98%, recall of 80%, and an F1 score of 87%. In contrast, the ResNet-50 model exhibited a loss of 54%, accuracy of 73%, precision of 88%, recall of 52%, and an F1 score of 65%. This study emphasizes the potential of machine learning in TB detection and possible implications for early identification and treatment initiation. The possibility of integrating such models into mobile devices expands their utility in areas lacking TB detection resources. However, despite promising results, the need for continued development of faster, smaller, and more accurate TB detection models remains crucial in contributing to the global efforts in combating TB.

PDF

Concepts Keywords
32milliondeathsfrom Detection
50rs50architecture Images
Accurate Learning
Squeezenetmodelindiagnosingtuberculosistbusingchestx Model
Tuberculosis Models
Precision
Ray
Rays
Recall
Settings
Squeezenet
Tb
Training
Tuberculosis
Volume

Semantics

Type Source Name
disease MESH Tuberculosis
pathway KEGG Tuberculosis
disease MESH infectious disease
pathway REACTOME Infectious disease
disease MESH confusion
drug DRUGBANK Nonoxynol-9
drug DRUGBANK Coenzyme M

Download Document

Leave a Comment

Your email address will not be published. Required fields are marked *