Logo Annals of Transplantation Logo Annals of Transplantation Logo Annals of Transplantation

01 April 2025: Original Paper  

Optimizing Tacrolimus Dosing During Hospitalization After Kidney Transplantation: A Comparative Model Analysis

Sangkyun Mok ORCID logo1ABCDEF, Sun Cheol Park ORCID logo2ABDEF*, Sang Seob Yun2AF, Young Jun Park ORCID logo3AF, Dongin Sin4CD, Jung K. Hyun ORCID logo5CD

DOI: 10.12659/AOT.947768

Ann Transplant 2025; 30:e947768

0 Comments

Abstract

BACKGROUND: The optimization of tacrolimus dosing during the early postoperative hospitalization period is essential to prevent rejection, minimize nephrotoxicity, and minimize the risk of opportunistic infections. Patient pharmacokinetic variability poses challenges in dose adjustment. This study aimed to evaluate tacrolimus dosing optimization using machine learning and statistical methods.

MATERIAL AND METHODS: We conducted a retrospective study of 749 kidney transplant recipients at Seoul St. Mary’s Hospital between January 2015 and December 2019. Data on tacrolimus doses, trough levels, and other clinical variables were collected and analyzed during the first 12 postoperative days of hospitalization. Three approaches were evaluated: Extreme Gradient Boosting (XGBoost), Elastic Net regression (EN), and Linear regression (LR). The models were trained and validated using 5-fold cross-validation, with performance assessed using R² errors and alignment with clinically acceptable error margins.

RESULTS: Elastic Net showed the best performance with R² (Coefficient of Determination) of 0.861±0.044 and RMSE (Root Mean Square Error) of 0.930±0.220. Linear Regression and XGBoost provided clinically relevant predictions but with slightly lower accuracy. External validation was not performed, limiting the generalizability of the results.

CONCLUSIONS: The Elastic Net is a practical and reliable model for predicting the optimal tacrolimus dose. Machine learning and statistical methods are useful tools for optimizing tacrolimus dosing during hospitalization after kidney transplantation. Future studies should incorporate multi-center validation to improve clinical applicability.

Keywords: Tacrolimus, Transplantation

Introduction

Tacrolimus is one of the most important immunosuppressive agents used in renal transplantation, essential for maintaining appropriate trough levels to optimize transplant outcomes [1,2]. Unlike other immunosuppressive agents such as steroids and mycophenolic acid, tacrolimus requires careful management to balance trough levels; very high levels can lead to graft injury due to calcineurin inhibitor (CNI) toxicity and can increase the risk of opportunistic infections, including those from the BK virus and cytomegalovirus (CMV). High trough levels are associated with increased risks of hypertension, diabetes, hyperlipidemia, and cardiovascular complications [3]. Conversely, trough levels that are too low can lead to graft rejection, highlighting the challenge of maintaining a therapeutic range that is both narrow and variable among individuals [4]. Managing tacrolimus levels after transplantation is critical yet challenging owing to its narrow therapeutic window and significant interpatient variability. This variability is influenced by factors such as CYP3A4 and CYP3A5 enzyme activities, patient demographics, and clinical characteristics [5–9]. The initial tacrolimus dose is typically based on the patient’s body weight, followed by adjustments guided by the ongoing monitoring of trough levels. Research indicates that maintaining an optimal tacrolimus trough level early after transplantation is vital for a favorable prognosis [10]. Maintaining optimal tacrolimus levels during the initial hospitalization period is critical for minimizing rejection risk and improving transplant outcomes. Machine learning, a branch of artificial intelligence developed in the fields of pattern recognition and computational learning theory, is increasingly being applied in various medical fields. These algorithms are designed to develop models that learn from and make predictions based on empirical data, thereby enhancing decision making processes beyond the capabilities of static program instructions [11]. Artificial intelligence is being studied in various medical fields [12–15], but its clinical application is still limited. Machine learning has been widely explored in kidney transplantation, particularly for predicting graft survival, delayed graft function, and the use of immunosuppressive agents [16–18]. However, its application in real-time tacrolimus dose optimization during hospitalization remains underexplored. Our study employed machine learning and advanced statistical methods to retrospectively analyze tacrolimus dosing, drug concentrations, and clinical characteristics of patients who underwent kidney transplant during their hospital stay. This study aimed to develop and validate predictive models, including XGBoost, elastic net regression (EN), and linear regression (LR), to provide daily tacrolimus dose recommendations. These models were designed to enhance decision making and maintain consistent dosing during the critical early postoperative period. This study aimed to develop a predictive model using machine learning and statistical methods to determine the most appropriate tacrolimus dose to maintain optimal trough levels at the time of patient discharge.

Material and Methods

DOSING AND TIMING STANDARDIZATION:

Tacrolimus trough levels were consistently measured at 8 AM daily to ensure comparability during hospitalization after kidney transplantation. Tacrolimus doses were decided daily, and the subsequent dose was adjusted accordingly to maintain optimal trough levels, considering discharge timelines and consistency during hospitalization. A 12-day period was selected to ensure data consistency while accounting for typical discharge schedules in the hospital setting.

DATA AND PREPROCESSING:

This retrospective study evaluated 749 kidney transplant recipients from Seoul St. Mary’s Hospital in South Korea between January 1, 2015, and December 12, 2019. After initial data cleaning, which involved excluding missing values, the effective sample size was reduced to 747 patients. We then focused on analyzing the daily tacrolimus dose and trough levels for 12 days after surgery, along with other clinical variables.

FEATURE SELECTION:

The dataset included demographic data (age and sex), clinical variables (blood type, ABO incompatibility, height, weight, and BMI), medical histories (hypertension, diabetes, and coronary artery disease), and treatment specifics (induction agent, number of mismatches, use of rituximab before surgery, graft weight, and transplant type). Outliers, such as daily administered drug doses and tacrolimus trough levels, were included in the analysis owing to their clinical relevance despite their statistical deviation [19] (Figures 1, 2). A comprehensive feature selection process that included both univariate statistics and model-based techniques was used. Feature selection utilized univariate statistics and model-based feature selection techniques to filter meaningful predictors. Pearson’s correlation coefficient and mutual information techniques were employed to capture both linear and non-linear relationships between the variables to ensure a robust selection process [20]. Features with a P value <0.05 were prioritized and those identified as significant through mutual information analysis were included (Tables 1, 2). Additionally, when choosing variables, it is important to consider whether they are linearly correlated. Multi-collinearity was considered for this purpose, indicating that 1 or more variables were linearly correlated with 1 variable. Multi-collinearity among the explanatory variables in a linear regression model can adversely affect a model’s performance. Therefore, it is important to select explanatory variables with multi-collinearity. This can be checked using a measure called the variance inflation factor (VIF), which generally indicates that explanatory variables are multicollinear when the VIF value is ≥5. In this study, variables with a VIF value >5 were removed from the explanatory variable group [21]. The results of multi-collinearity tests for the explanatory variables selected for the regression model are presented in Tables 3 and 4. CYP3A5 genotyping data were not included because of unavailability. However, its known effects on tacrolimus metabolism suggest that future studies should include genetic profiling.

MODEL IMPLEMENTATION AND VALIDATION:

The dataset was split into 75% training and 25% test sets prior to model training. Finally, the model was tested on the holdout 25% test set to assess generalization performance. Overfitting was mitigated using L1/L2 regularization (for the Elastic Net), tree pruning (for XGBoost), and hyperparameter searching using random and grid searches. The models used in the analysis were multivariate linear regression, elastic net, and extreme gradient boosting (XGBoost). Owing to the limitations inherent in medical data collection, a 5-fold cross-validation method was implemented to ensure the robustness and generalizability of the models [22,23]. The performance metrics were primarily assessed using the mean absolute error (MAE) with additional metrics such as R2, adjusted R2, and root mean square error (RMSE), which were used to evaluate the overall effectiveness of the models. We also measured the underestimation and overestimation rates to gauge the accuracy of our predictions relative to the clinically acceptable error range of ±2 around the target tacrolimus trough level of 8, which was expressed as 75–125%.

STATISTICAL ANALYSES:

SPSS for Windows (ver. 24.0; SPSS, Inc., Chicago, IL, USA) and Python (version 3.90) were used for the statistical analyses. P value <0.05 was regarded as statistically significant.

ETHICAL COMPLIANCE:

This study complied with the Declaration of Helsinki and was approved by the Institutional Review Board of Seoul St. Mary’s Hospital. This ensured that all research was conducted under stringent ethical standards, safeguarding the participant data and welfare throughout the study.

Results

We conducted a comprehensive evaluation of regression models to predict the optimal tacrolimus dose after kidney transplantation, focusing on key performance metrics to determine the effectiveness of each model. Figures 1 and 2 illustrate the variability in tacrolimus doses and trough levels during the 12-day hospitalization period, highlighting the challenges of individualized dosing and the maintenance of therapeutic levels in post-transplant care. In Table 5, baseline characteristics of the study population outline the demographic and clinical variables, including sex, age, BMI, and comorbidities, which are crucial for understanding the diversity within the study population and interpreting the variability in tacrolimus pharmacokinetics and response. The results of feature importance analyses are presented in Tables 6 and 7, showing that the tacrolimus trough level on the 10th day is the most influential attribute for predicting the tacrolimus level on the next day in the 3 machine learning models. Tables 8 and 9 provide details of performance metrics such as R2 (coefficient of determination), MAE, and RMSE, which are provided for the XGBoost, Linear regression, and Elastic Net models, presenting a granular analysis of each model’s performance across multiple cross-validation splits, showing the consistency and reliability of the models under various conditions. Table 8 shows the tacrolimus dose prediction performance metrics. Elastic Net regression achieved the best results, with an R2 (mean±SD) of 0.861±0.044, an MAE (mean±SD) of 0.622±0.102, and the lowest MSE (0.903±0.419). These findings demonstrate the robustness of the Elastic Net in handling pharmacokinetic variability and delivering accurate predictions. Table 9 outlines the tacrolimus trough level predictions. Elastic Net regression again outperformed other models, with an average R2 (mean±SD) of 0.278±0.122 and the lowest MSE (mean±SD=5.062±1.592). Although XGBoost performed well, particularly for non-linear relationships, its slightly higher error metrics show that Elastic Net has superior reliability and is the preferred model. Elastic Net regression consistently achieved the highest accuracy and reliability across multiple performance metrics for tacrolimus dose and trough level prediction.

Discussion

Prediction of tacrolimus doses are critical in postoperative management during the post-kidney transplantation hospitalization period, when maintaining a therapeutic window is crucial. Elastic Net regression consistently outperformed the other models across both tacrolimus dose and trough level predictions. Linear Regression and XGBoost provided clinically relevant predictions but with slightly lower accuracy. Its ability to handle multi-collinearity and integrate feature selection ensures interpretable prediction. However, the slightly higher error metrics in XGBoost indicate limitations in clinical applicability compared to Elastic Net. The tendency of the XGBoost model to overestimate, while providing an opportunity for proactive dose adjustment, calls for careful calibration and monitoring to optimize its utility in clinical settings without compromising patient safety [24]. However, this does not imply that the Elastic Net regression model is applicable. Therefore, it is important to develop appropriate models for further research. Our study confirmed that a tacrolimus dose prediction model can be applied through statistical models and machine learning. This methodological innovation addresses a crucial gap in existing methodologies and broadens the scope of data analytics in clinical settings [25–27]. The use of both Pearson correlation coefficients and mutual information analysis proved pivotal, offering a robust approach for feature selection that captures the complexities often missed by conventional statistical methods [28,29]. Our study highlights the effectiveness of interpretable models such as Elastic Net and XGBoost for tacrolimus dosing. Compared to a previous study [18], which focused on stable dose prediction, our study focused on optimizing tacrolimus dosing during hospitalization after transplantation. Our approach balances accuracy with clinical practicality, making it easier to implement while maintaining a strong predictive performance in real-world settings. Our study has some limitations. It was conducted at a single institution and external validation was not performed. While internal validation using 5-fold cross-validation provided robust performance metrics, external validation with independent datasets was necessary to confirm the generalizability of the model. Future studies should focus on multi-center external validation to enhance clinical applicability and validate these models using large-scale datasets or multi-center studies to ensure reliability and applicability [30,31]. Additionally, CYP3A5 genotyping is known to significantly influence tacrolimus metabolism. Therefore, it was not included in this study because it is not routinely performed in clinical practice. This limitation may affect the accuracy of the model. Future studies should incorporate genetic profiling to improve personalized dose prediction.

Conclusions

Elastic Net regression demonstrated superior performance in tacrolimus dose prediction, offering a reliable and interpretable solution for managing pharmacokinetic variability in hospitalized patients post-kidney transplant. Future studies should aim to validate these findings across diverse populations and explore the application of Elastic Net in real-time clinical decision making. However, similar performance metrics across the models highlight the need to carefully consider model interpretability and clinical utility in practical applications. Future studies should perform external validation using multi-center datasets to confirm the generalizability of our model. Finally, further research is required to validate these findings and explore their integration into real-time clinical decision support systems.

References

1. Lim MA, Kohli J, Bloom RD, Immunosuppression for kidney transplantation: Where are we now and where are we going?: Transplant Rev (Orlando), 2017; 31; 10-17

2. Chang JY, Yu J, Chung BH, Immunosuppressant prescription pattern and trend in kidney transplantation: A multicenter study in Korea: PLoS One, 2017; 12; e0183826

3. Jardine AG, Assessing the relative risk of cardiovascular disease among renal transplant patients receiving tacrolimus or cyclosporine: Transpl Int, 2005; 18; 379-84

4. Jung HY, Seo MY, Jeon Y, Tacrolimus trough levels higher than 6 ng/mL might not be required after a year in stable kidney transplant recipients: PLoS One, 2020; 15; e0235418

5. Andrews LM, Hesselink DA, van Schaik RHN, A population pharmacokinetic model to predict the individual starting dose of tacrolimus in adult renal transplant recipients: Br J Clin Pharmacol, 2019; 85; 601-15

6. Golubović B, Vučićević K, Radivojević D, Total plasma protein effect on tacrolimus elimination in kidney transplant patients – population pharmacokinetic approach: Eur J Pharm Sci, 2014; 52; 34-40

7. Passey C, Birnbaum AK, Brundage RC, Dosing equation for tacrolimus using genetic variants and clinical factors: Br J Clin Pharmacol, 2011; 72; 948-57

8. Han N, Yun HY, Hong JY, Prediction of the tacrolimus population pharmacokinetic parameters according to CYP3A5 genotype and clinical factors using NONMEM in adult kidney transplant recipients: Eur J Clin Pharmacol, 2013; 69; 53-63

9. Ling J, Dong LL, Yang XP, Effects of CYP3A5, ABCB1 and POR*28 polymorphisms on pharmacokinetics of tacrolimus in the early period after renal transplantation: Xenobiotica, 2020; 50; 1501-9

10. Park WY, Paek JH, Jin K, Long-term clinical significance of tacrolimus trough level at the early period after kidney transplantation: Transplant Proc, 2019; 51; 2643-47

11. Connor KL, O’Sullivan ED, Marson LP, The future role of machine learning in clinical transplantation: Transplantation, 2021; 105; 723-35

12. Tomašev N, Glorot X, Rae JW, A clinically applicable approach to continuous prediction of future acute kidney injury: Nature, 2019; 572; 116-69

13. He J, Baxter SL, Xu J, The practical implementation of artificial intelligence technologies in medicine: Nat Med, 2019; 25; 30-36

14. Attia ZI, Noseworthy PA, Lopez-Jimenez F, An artificial intelligence-enabled ECG algorithm for the identification of patients with atrial fibrillation during sinus rhythm: A retrospective analysis of outcome prediction: Lancet, 2019; 394; 861-67

15. Zarins CK, Taylor CA, Min JK, Computed fractional flow reserve (FFTCT) derived from coronary CT angiography: J Cardiovasc Transl Res, 2013; 6; 708-14

16. Ali H, Shroff A, Fülöp T, Artificial intelligence assisted risk prediction in organ transplantation: A UK Live-Donor Kidney Transplant Outcome Prediction tool: Ren Fail, 2025; 47; 2431147

17. Tirasattayapitak S, Ratanatharathorn C, Thotsiri S, Integrating clinical and histopathological data to predict delayed graft function in kidney transplant recipients using machine learning techniques: J Clin Med, 2024; 13(24); 7502

18. Zhang Q, Tian X, Chen G, A prediction model for tacrolimus daily dose in kidney transplant recipients with machine learning and deep learning techniques: Front Med (Lausanne), 2022; 9; 813117

19. MIT Critical Data: Secondary analysis of electronic health records, 2016, Cham (CH), Springer Copyright

20. Veyrat-Charvillon N, Standaert F-X, Mutual information analysis: How, when and why?: Cryptographic Hardware and Embedded Systems – CHES, 2009; 2009; 2009, Berlin, Heidelberg, Springer, Berlin Heidelberg

21. Marcoulides KM, Raykov T, Evaluation of variance inflation factors in regression models using latent variable modeling methods: Educ Psychol Meas, 2019; 79; 874-82

22. Hidalgo B, Goodman M, Multivariate or multivariable regression?: Am J Public Health, 2013; 103; 39-40

23. Chen T, Guestrin C: XGBoost: A scalable tree boosting system, 2016

24. Feng X, Hua Y, Zou J, Intelligible models for healthcare: Predicting the probability of 6-month unfavorable outcome in patients with ischemic stroke: Neuroinformatics, 2022; 20; 575-85

25. Fan J, Shi S, Xiang H, Predicting elimination of small-molecule drug half-life in pharmacokinetics using ensemble and consensus machine learning methods: J Chem Inf Model, 2024; 64; 3080-92

26. Huang JC, Tsai YC, Wu PY, Predictive modeling of blood pressure during hemodialysis: A comparison of linear model, random forest, support vector regression, XGBoost, LASSO regression and ensemble method: Comput Methods Programs Biomed, 2020; 195; 105536

27. Lu J, Lu D, Zhang X, Estimation of elimination half-lives of organic chemicals in humans using gradient boosting machine: Biochim Biophys Acta, 2016; 1860; 2664-71

28. Taghizadeh E, Heydarheydari S, Saberi A, Breast cancer prediction with transcriptome profiling using feature selection and machine learning methods: BMC Bioinformatics, 2022; 23; 410

29. Zamanian H, Shalbaf A, Estimation of non-alcoholic steatohepatitis (NASH) disease using clinical information based on the optimal combination of intelligent algorithms for feature selection and classification: Comput Methods Biomech Biomed Engin, 2024; 27(8); 964-79

30. Yu JY, Kim D, Yoon S, Inter hospital external validation of interpretable machine learning based triage score for the emergency department using common data model: Sci Rep, 2024; 14; 6666

31. Han J, Hua H, Fei J, Prediction of disease-free survival in breast cancer using deep learning with ultrasound and mammography: A multicenter study: Clin Breast Cancer, 2024; 24; 215-26

In Press

Original article  

Post-Liver Transplantation Atrial Fibrillation: Insights into Clinical and ECG Predictors

Ann Transplant In Press; DOI: 10.12659/AOT.948243  

Original article  

Prognostic Nutritional Index Trajectories Predict Kidney Function in Kidney Transplant Recipients: A Latent...

Ann Transplant In Press; DOI: 10.12659/AOT.947388  

Most Viewed Current Articles

03 Jan 2023 : Original article   6,942

Impact of Autologous Stem Cell Transplantation on Primary Central Nervous System Lymphoma in First-Line and...

DOI :10.12659/AOT.938467

Ann Transplant 2023; 28:e938467

15 Aug 2023 : Review article   6,909

Free-Circulating Nucleic Acids as Biomarkers in Patients After Solid Organ Transplantation

DOI :10.12659/AOT.939750

Ann Transplant 2023; 28:e939750

16 May 2023 : Original article   6,682

Breaking Antimicrobial Resistance: High-Dose Amoxicillin with Clavulanic Acid for Urinary Tract Infections ...

DOI :10.12659/AOT.939258

Ann Transplant 2023; 28:e939258

28 May 2024 : Original article   6,102

Effect of Dexmedetomidine Combined with Remifentanil on Emergence Agitation During Awakening from Sevoflura...

DOI :10.12659/AOT.943281

Ann Transplant 2024; 29:e943281

Your Privacy

We use cookies to ensure the functionality of our website, to personalize content and advertising, to provide social media features, and to analyze our traffic. If you allow us to do so, we also inform our social media, advertising and analysis partners about your use of our website, You can decise for yourself which categories you you want to deny or allow. Please note that based on your settings not all functionalities of the site are available. View our privacy policy.

Annals of Transplantation eISSN: 2329-0358
Annals of Transplantation eISSN: 2329-0358