Mega Utami I. Mappa
Universitas Muhammadiyah Makassar

Published : 1 Documents Claim Missing Document
Claim Missing Document
Check
Articles

Found 1 Documents
Search

Tuberculosis Classification Using LightGBM Based on Patient Clinical Data: An Initial Screening Study Mega Utami I. Mappa; Desi Anggreani; Chyquitha Danuputri; Syariful Mujaddid
International Journal of Artificial Intelligence in Medical Issues Vol. 4 No. 2 (2026): International Journal of Artificial Intelligence in Medical Issues
Publisher : Yocto Brain

Show Abstract | Download Original | Original Source | Check in Google Scholar | DOI: 10.56705/ijaimi.v4i2.490

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.