International Journal of Artificial Intelligence in Medical Issues
Vol. 4 No. 2 (2026): International Journal of Artificial Intelligence in Medical Issues

Tuberculosis Classification Using LightGBM Based on Patient Clinical Data: An Initial Screening Study

Mega Utami I. Mappa (Universitas Muhammadiyah Makassar)
Desi Anggreani (Universitas Muhammadiyah Makassar)
Chyquitha Danuputri (Universitas Muhammadiyah Makassar)
Syariful Mujaddid (Universitas Muslim Indonesia)



Article Info

Publish Date
30 Nov 2026

Abstract

Introduction: Tuberculosis (TB) remains a major public-health burden in Indonesia, and symptom-based triage is complicated by heterogeneous clinical presentations. This exploratory study evaluated the Light Gradient Boosting Machine (LightGBM) algorithm for classifying pulmonary TB from routine hospital clinical records under severe class imbalance. Methods: The dataset comprised 420 patient records from RSUD Syekh Yusuf Gowa (395 TB and 25 non-TB) and eight demographic and symptom-related attributes. After data cleaning, missing-value imputation, and binary encoding, stratified splitting yielded 336 training and 84 testing records. LightGBM was trained with a learning rate of 0.05, 31 leaves, a maximum depth of 6, and 100 estimators. Performance was assessed using accuracy, precision, recall, specificity, balanced accuracy, and F1-score. Results: On the held-out test set, the model produced 77 true positives, zero true negatives, five false positives, and two false negatives, yielding 91.67% accuracy, 93.90% precision, 97.47% recall, 0.00% specificity, 48.74% balanced accuracy, and a 95.65% F1-score. Accuracy was below the 94.05% majority-class baseline. Patient age provided the largest first-tree split gain (12.7595 at a threshold of 73.5 years). Conclusion: Although LightGBM detected most TB cases, it misclassified every non-TB case in the test set. The findings support exploratory analysis only, not clinical deployment. Class rebalancing, threshold calibration, and validation in larger, more representative cohorts are needed before this approach can be considered for screening support.

Copyrights © 2026






Journal Info

Abbrev

ijaimi

Publisher

Subject

Computer Science & IT Dentistry Health Professions Medicine & Pharmacology Public Health

Description

The International Journal of Artificial Intelligence in Medical Issues (IJAIMI) is a premier, peer-reviewed academic journal dedicated to the integration and advancement of artificial intelligence (AI) in the medical field. The journal aims to serve as a global platform for researchers, clinicians, ...