Predicting antituberculosis drug-induced liver injury using an interpretable machine learning method: Model development and validation study

Tao Zhong, Zian Zhuang, Xiaoli Dong, Ka Hing Wong, Wing Tak Wong, Jian Wang, Daihai He, Shengyuan Liu

Research output: Journal article publicationJournal articleAcademic researchpeer-review

Abstract

Background: Tuberculosis (TB) is a pandemic, being one of the top 10 causes of death and the main cause of death from a single source of infection. Drug-induced liver injury (DILI) is the most common and serious side effect during the treatment of TB. Objective: We aim to predict the status of liver injury in patients with TB at the clinical treatment stage. Methods: We designed an interpretable prediction model based on the XGBoost algorithm and identified the most robust and meaningful predictors of the risk of TB-DILI on the basis of clinical data extracted from the Hospital Information System of Shenzhen Nanshan Center for Chronic Disease Control from 2014 to 2019. Results: In total, 757 patients were included, and 287 (38%) had developed TB-DILI. Based on values of relative importance and area under the receiver operating characteristic curve, machine learning tools selected patients' most recent alanine transaminase levels, average rate of change of patients' last 2 measures of alanine transaminase levels, cumulative dose of pyrazinamide, and cumulative dose of ethambutol as the best predictors for assessing the risk of TB-DILI. In the validation data set, the model had a precision of 90%, recall of 74%, classification accuracy of 76%, and balanced error rate of 77% in predicting cases of TB-DILI. The area under the receiver operating characteristic curve score upon 10-fold cross-validation was 0.912 (95% CI 0.890-0.935). In addition, the model provided warnings of high risk for patients in advance of DILI onset for a median of 15 (IQR 7.3-27.5) days. Conclusions: Our model shows high accuracy and interpretability in predicting cases of TB-DILI, which can provide useful information to clinicians to adjust the medication regimen and avoid more serious liver injury in patients.

Original languageEnglish
Article numbere29226
Pages (from-to)1-12
Number of pages12
JournalJMIR Medical Informatics
Volume9
Issue number7
DOIs
Publication statusPublished - Jul 2021

Keywords

  • Accuracy
  • Drug
  • Drug-induced liver injury
  • High accuracy
  • Injury
  • Interpretability
  • Interpretation
  • Liver
  • Machine learning
  • Model
  • Prediction
  • Treatment
  • Tuberculosis
  • XGBoost algorithm

ASJC Scopus subject areas

  • Health Informatics
  • Health Information Management

Cite this