Predicting Hepatotoxicity Associated with Low-Dose Methotrexate Using Machine Learning

J Clin Med. 2023 Feb 17;12(4):1599. doi: 10.3390/jcm12041599.

Abstract

An accurate prediction of the hepatotoxicity associated with low-dose methotrexate can provide evidence for a reasonable treatment choice. This study aimed to develop a machine learning-based prediction model to predict hepatotoxicity associated with low-dose methotrexate and explore the associated risk factors. Eligible patients with immune system disorders, who received low-dose methotrexate at West China Hospital between 1 January 2018, and 31 December 2019, were enrolled. A retrospective review of the included patients was conducted. Risk factors were selected from multiple patient characteristics, including demographics, admissions, and treatments. Eight algorithms, including eXtreme Gradient Boosting (XGBoost), AdaBoost, CatBoost, Gradient Boosting Decision Tree (GBDT), Light Gradient Boosting Machine (LightGBM), Tree-based Pipeline Optimization Tool (TPOT), Random Forest (RF), and Artificial Neural Network (ANN), were used to establish the prediction model. A total of 782 patients were included, and hepatotoxicity was detected in 35.68% (279/782) of the patients. The Random Forest model with the best predictive capacity was chosen to establish the prediction model (receiver operating characteristic curve 0.97, accuracy 64.33%, precision 50.00%, recall 32.14%, and F1 39.13%). Among the 15 risk factors, the highest score was a body mass index of 0.237, followed by age (0.198), the number of drugs (0.151), and the number of comorbidities (0.144). These factors demonstrated their importance in predicting hepatotoxicity associated with low-dose methotrexate. Using machine learning, this novel study established a predictive model for low-dose methotrexate-related hepatotoxicity. The model can improve medication safety in patients taking methotrexate in clinical practice.

Keywords: hepatotoxicity; low-dose methotrexate; machine learning; prediction model; risk factor.