Maintenance Notice

Due to necessary scheduled maintenance, the JMIR Publications website will be unavailable from Wednesday, July 01, 2020 at 8:00 PM to 10:00 PM EST. We apologize in advance for any inconvenience this may cause you.

Who will be affected?

Accepted for/Published in: JMIR Cardio

Date Submitted: Mar 14, 2023
Date Accepted: Oct 4, 2023

The final, peer-reviewed published version of this preprint can be found here:

Evaluation of Machine Learning Approaches for Predicting Warfarin Discharge Dose in Cardiac Surgery Patients: Retrospective Algorithm Development and Validation Study

Dryden L, Song J, Valenzano T, Yang Z, Debnath M, Lin R, Topolovec-Vranic J, Mamdani M, Antoniou T

Evaluation of Machine Learning Approaches for Predicting Warfarin Discharge Dose in Cardiac Surgery Patients: Retrospective Algorithm Development and Validation Study

JMIR Cardio 2023;7:e47262

DOI: 10.2196/47262

PMID: 38055310

PMCID: 10733832

Predicting warfarin discharge dose in cardiac surgery patients: evaluation of machine learning approaches

  • Lindsay Dryden; 
  • Jacquelin Song; 
  • Teresa Valenzano; 
  • Zhen Yang; 
  • Meggie Debnath; 
  • Rebecca Lin; 
  • Jane Topolovec-Vranic; 
  • Muhammad Mamdani; 
  • Tony Antoniou

ABSTRACT

Background:

Warfarin is commonly prescribed for patients undergoing cardiac surgery. However, warfarin dosing in this population is complicated by a heightened sensitivity to the drug, predisposing patients to adverse events. Predictive algorithms are therefore needed to guide warfarin dosing in cardiac surgery patients.

Objective:

To develop and validate an algorithm for predicting the warfarin dose needed to attain a therapeutic international normalized ratio (INR) at the time of discharge in cardiac surgery patients.

Methods:

We abstracted clinical variables influencing warfarin dosage from the medical records of 1,132 patients initiating warfarin between April 1, 2011 and Nov 29, 2019 at St. Michael’s Hospital, in Toronto, Canada. We compared the performance of penalized linear regression, K-nearest neighbours, random forest regression, gradient boosting, multivariate adaptive regression splines, and an ensemble model combining the predictions of the five regression models. Our outcomes were the warfarin dose required to attain discharge INRs of 2.0 to 3.0 and 2.5 to 3.5. For each approach, we determined the mean absolute error (MAE) and the proportion of predictions within 20% of the true warfarin dose. We retrospectively evaluated the best performing algorithm in clinical practice by comparing the proportion of cardiovascular surgery patients discharged with a therapeutic INR prior to (April 2011 and July 2019) and following (September 2021 and May 2nd 2022) its development and implementation in routine care.

Results:

Random forest regression was the best performing model for patients with a target INR of 2.0 to 3.0, with an MAE of 1.13 mg and 39.5% of predictions of falling within 20% of the actual therapeutic discharge dose. For patients with a target INR of 2.5 to 3.5, the ensemble model performed best, with an MAE of 1.11 mg and 43.6% of predictions being within 20% of the actual therapeutic discharge dose. The proportion of cardiovascular surgery patients discharged with a therapeutic INR prior to and following implementation of these algorithms in clinical practice was 47.5% (305/641) and 61.1% (11/18), respectively.

Conclusions:

Machine learning algorithms based on routinely available clinical data can help guide initial warfarin dosing in cardiac surgery patients and optimize the post-surgical anticoagulation of these patients. Clinical Trial: NA


 Citation

Please cite as:

Dryden L, Song J, Valenzano T, Yang Z, Debnath M, Lin R, Topolovec-Vranic J, Mamdani M, Antoniou T

Evaluation of Machine Learning Approaches for Predicting Warfarin Discharge Dose in Cardiac Surgery Patients: Retrospective Algorithm Development and Validation Study

JMIR Cardio 2023;7:e47262

DOI: 10.2196/47262

PMID: 38055310

PMCID: 10733832

Download PDF


Request queued. Please wait while the file is being generated. It may take some time.

© The authors. All rights reserved. This is a privileged document currently under peer-review/community review (or an accepted/rejected manuscript). Authors have provided JMIR Publications with an exclusive license to publish this preprint on it's website for review and ahead-of-print citation purposes only. While the final peer-reviewed paper may be licensed under a cc-by license on publication, at this stage authors and publisher expressively prohibit redistribution of this draft paper other than for review purposes.