Development of a Machine Learning-based Model for Methimazole Dosage Adjustment in Youth With Hyperthyroidism.

Kim, Joon Young; Lee, Kanghyuck; Choi, Eunsik; Oh, Jun Suk; Lee, Eun Byoul; Chae, Hyun Wook; Ko, Taehoon; Song, Kyungchul · J Clin Endocrinol Metab · 2026

retrospective_cohort · Level III

Where this comes from

Abstract

Accurate methimazole (MMI) dose adjustment in pediatric hyperthyroidism is crucial, but individualized titration relies on clinician experience due to a lack of validated predictive tools. This study aimed to develop and validate machine learning-based models for predicting optimal MMI dosage in pediatric hyperthyroidism. This was a retrospective, multicenter, model-development study. Machine learning models, including linear regression, decision tree, support vector regression, Extreme Gradient Boosting (XGBoost), and feed-forward neural networks, were trained and validated. Data were collected from a primary center for model training, with 2 separate centers providing data for external validation. Data were derived from 1512 visits for the training set and 666 and 31 visits for 2 external validation cohorts, respectively. All data were from youth aged ≤18 years with hyperthyroidism. The models were trained to predict the optimal daily dosage of MMI based on variables including age, sex, anthropometric measures, prior MMI dosage, treatment duration, and current and previous results of thyroid function tests. Model performance was evaluated by the mean absolute error (MAE) between the predicted and actual MMI dosages. Feature importance was determined using Shapley additive explanations (SHAP) analysis. The XGBoost model demonstrated the best performance in both internal validation (MAE 1.72 mg) and external validation (MAE 1.08 mg). SHAP analysis identified previous MMI dose, T3, and free T4 levels as key predictors. This study introduces the first data-driven tool to guide MMI dosing in pediatric hyperthyroidism, which can improve clinical efficiency.

Medical subject headings