TB Research

Predicting Tuberculosis Treatment Outcome Using Machine Learning Techniques

Akeredolu Motolani Deborah, Adeniji Oluwashola David, Adeyemi Samuel Oladele, Adelusi Bamidele Samuel

INTERNATIONAL JOURNAL OF MATHEMATICS AND COMPUTER RESEARCH · 2025-07

Abstract

The cause of tuberculosis can be dangerous and even be a fatal disorder, the mainstream of patients are able to recover with prompt diagnosis and treatment. After a few weeks of treatment, you won't be contagious, and you could start feeling better and as a result most people don’t take their TB medications as prescribed by their doctor. Also taking TB medications or not completing the entire therapy could lead to the bacteria still alive in them to develop antibiotics resistance, which is far more dangerous and difficult to treat. In this research, two (2) machine learning algorithms; Logistic Regression (LR) and Random Forest (RF) were employed for predicting tuberculosis treatment outcome in order to ensure treatment completion for favorable outcome. GridSearchCV was used to improve the models performance and of the two developed model, both models performed very well with LR having an accuracy of 75%, and RF an accuracy of 55%.

MeSH terms

  • Outcome (game theory)
  • Artificial intelligence
  • Tuberculosis
  • Machine learning
  • Computer science