Therapeutic Warfarin Dose in Heart Valve Replacement: Machine Learning-Directed Explainable Artificial Intelligence and Bayesian Predictions

Background: Warfarin remains essential for preventing thromboembolism after heart valve replacement, yet achieving therapeutic dosing is challenging due to inter-individual variability. While genetic factors influence warfarin response, studies specifically in heart valve replacement patients are limited. We aimed to develop and validate predictive models for therapeutic warfarin dose in this population using machine learning, explainable artificial intelligence (XAI), and Bayesian approaches, and to compare them with the International Warfarin Pharmacogenetics Consortium (IWPC) pharmacogenetics algorithm and linear regression. Methods: This observational study analyzed 531 patients with heart valve replacement from the IWPC database. Predictors included age, height, weight, gender, race, amiodarone use, enzyme inducers, and CYP2C9 and VKORC1 −1639 genotypes. Elastic Net, Random Forest, Support Vector Machine, Gradient Boosting Machine and Bayesian Additive Regression Trees (BART) were compared with linear regression, the IWPC algorithm and a mean-dose model by repeated stratified 5 × 5 cross-validation (tuning inside training folds) and by a stratified 80/20 hold-out (n = 427/104). SHAP was used for interpretation. BART credible and posterior predictive intervals were evaluated for empirical coverage and for their ability to identify large errors. Results: Mean therapeutic weekly dose was 29.8 ± 12.8 mg. In cross-validation, Elastic Net had MAE 6.60 mg/week (95% CI 6.12–7.13; 0.94 mg/day), R2 0.52 and 54.8% of predictions within ±20%; BART 6.77 mg/week (6.29–7.31), R2 0.50, 53.3%; linear regression 6.61, 54.6%. These did not differ significantly. The IWPC algorithm had MAE 7.48 (6.94–8.02) and 43.9% within ±20%; Elastic Net and BART were better by 0.88 and 0.70 mg/week (paired 95% CI −1.20 to −0.54 and −1.04 to −0.36). SHAP showed VKORC1, reported ancestry and CYP2C9 as dominant predictors in all four models. Concordant and discordant predictions did not differ in SHAP contributions after multiplicity correction; the apparent reversal of genetic effects was an artifact of group composition. The 95% credible interval of BART covered the observed dose in only 51.9% of hold-out patients, whereas the 95% posterior predictive interval covered 94.2% with a median width of 32.3 mg/week; interval width did not identify patients with large errors (AUC 0.53). Models did not transport across sites or ancestry groups in leave-one-site-out validation. Conclusions: Machine learning models using clinical and genetic data predicted the warfarin dose in heart valve replacement better than the IWPC algorithm, but not better than linear regression, and BART gave no accuracy advantage. BART’s credible interval should not be read as a prediction interval, and its width did not identify patients with large errors. External validation, in cohorts with known prosthesis type and prothrombin time–international normalized ratio target, is needed before clinical use.

Authors

Institutions

Publication Details

Journal
BioMedInformatics
Published
2026-12-02
DOI
https://doi.org/10.3390/biomedinformatics6060123
Primary Topic
Pharmacogenetics and Drug Metabolism
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

Therapeutic Warfarin Dose in Heart Valve Replacement: Machine Learning-Directed Explainable Artificial Intelligence and Bayesian Predictions

Kannan Sridharan, Gowri Sivaramakrishnan
BioMedInformatics
Pharmacogenetics and Drug Metabolism
article

Therapeutic Warfarin Dose in Heart Valve Replacement: Machine Learning-Directed Explainable Artificial Intelligence and Bayesian Predictions

Kannan Sridharan, Gowri Sivaramakrishnan
article en

Abstract

Background: Warfarin remains essential for preventing thromboembolism after heart valve replacement, yet achieving therapeutic dosing is challenging due to inter-individual variability. While genetic factors influence warfarin response, studies specifically in heart valve replacement patients are limited. We aimed to develop and validate predictive models for therapeutic warfarin dose in this population using machine learning, explainable artificial intelligence (XAI), and Bayesian approaches, and to compare them with the International Warfarin Pharmacogenetics Consortium (IWPC) pharmacogenetics algorithm and linear regression. Methods: This observational study analyzed 531 patients with heart valve replacement from the IWPC database. Predictors included age, height, weight, gender, race, amiodarone use, enzyme inducers, and CYP2C9 and VKORC1 −1639 genotypes. Elastic Net, Random Forest, Support Vector Machine, Gradient Boosting Machine and Bayesian Additive Regression Trees (BART) were compared with linear regression, the IWPC algorithm and a mean-dose model by repeated stratified 5 × 5 cross-validation (tuning inside training folds) and by a stratified 80/20 hold-out (n = 427/104). SHAP was used for interpretation. BART credible and posterior predictive intervals were evaluated for empirical coverage and for their ability to identify large errors. Results: Mean therapeutic weekly dose was 29.8 ± 12.8 mg. In cross-validation, Elastic Net had MAE 6.60 mg/week (95% CI 6.12–7.13; 0.94 mg/day), R2 0.52 and 54.8% of predictions within ±20%; BART 6.77 mg/week (6.29–7.31), R2 0.50, 53.3%; linear regression 6.61, 54.6%. These did not differ significantly. The IWPC algorithm had MAE 7.48 (6.94–8.02) and 43.9% within ±20%; Elastic Net and BART were better by 0.88 and 0.70 mg/week (paired 95% CI −1.20 to −0.54 and −1.04 to −0.36). SHAP showed VKORC1, reported ancestry and CYP2C9 as dominant predictors in all four models. Concordant and discordant predictions did not differ in SHAP contributions after multiplicity correction; the apparent reversal of genetic effects was an artifact of group composition. The 95% credible interval of BART covered the observed dose in only 51.9% of hold-out patients, whereas the 95% posterior predictive interval covered 94.2% with a median width of 32.3 mg/week; interval width did not identify patients with large errors (AUC 0.53). Models did not transport across sites or ancestry groups in leave-one-site-out validation. Conclusions: Machine learning models using clinical and genetic data predicted the warfarin dose in heart valve replacement better than the IWPC algorithm, but not better than linear regression, and BART gave no accuracy advantage. BART’s credible interval should not be read as a prediction interval, and its width did not identify patients with large errors. External validation, in cohorts with known prosthesis type and prothrombin time–international normalized ratio target, is needed before clinical use.

BioMedInformaticsVol. 6(6)
Arabian Gulf University (BH)
Pharmacogenetics and Drug Metabolism
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon