Skip to main page content
U.S. flag

An official website of the United States government

Dot gov

The .gov means it’s official.
Federal government websites often end in .gov or .mil. Before sharing sensitive information, make sure you’re on a federal government site.

Https

The site is secure.
The https:// ensures that you are connecting to the official website and that any information you provide is encrypted and transmitted securely.

Access keys NCBI Homepage MyNCBI Homepage Main Content Main Navigation
. 2025 Jul 21;20(7):e0328709.
doi: 10.1371/journal.pone.0328709. eCollection 2025.

Analysis of aPTT predictors after unfractionated heparin administration in intensive care units using machine learning models

Affiliations

Analysis of aPTT predictors after unfractionated heparin administration in intensive care units using machine learning models

Tadashi Kamio et al. PLoS One. .

Abstract

Objectives: Predicting optimal coagulation control using heparin in intensive care units (ICUs) remains a significant challenge. This study aimed to develop a machine learning (ML) model to predict activated partial thromboplastin time (aPTT) in ICU patients receiving unfractionated heparin for anticoagulation and to identify key predictive factors.

Methods: Data were obtained from the Tokushukai Medical Database, covering six hospitals with ICUs in Japan, collected between 2018 and 2022. The study included 945 ICU patients who received unfractionated heparin. The dataset comprised both static and dynamic features, which were used to construct and train ML models. Models were developed to predict aPTT following initial and multiple heparin doses. Model performance was evaluated using the area under the receiver operating characteristic curve (ROC AUC), area under the precision-recall curve (PR AUC), precision, recall, F1 score, and accuracy. SHAP analysis was conducted to determine key predictive factors.

Results: The random forest model demonstrated the highest predictive performance, with ROC AUC values of 0.707 for the first infusion and 0.732 for multiple infusions. Corresponding PR AUC values were 0.539 and 0.551. Despite moderate overall predictive performance, the model exhibited high precision (0.585 for the first infusion and 0.589 for multiple infusions), indicating effectiveness in correctly identifying true positive cases. However, recall and F1 scores were lower, suggesting that some cases, particularly in sub-therapeutic and supra-therapeutic ranges, may have been missed. Incorporating time-series data, such as vital signs, provided only marginal improvements in performance.

Conclusions: ML models demonstrated moderate performance in predicting aPTT following heparin infusion in ICU patients, with the random forest model achieving the highest classification accuracy. Although the models effectively identified true positive cases, their overall predictive performance remained limited, necessitating further refinement. The inclusion of static and dynamic features did not significantly enhance model accuracy. Future studies should explore additional factors to improve predictive models for optimizing individualized anticoagulation management in ICUs.

PubMed Disclaimer

Conflict of interest statement

The authors have declared that no competing interests exist.

Figures

Fig 1
Fig 1. Multiple dataset creation and exclusion criteria from each patient.
The dataset was created during entry and exit from the ICU/ECU while heparin was administered and dosing was continued. The dataset of interest included data in which the aPTT was measured prior to heparin administration and the target aPTT was measured between 6 and 24 h post-administration.
Fig 2
Fig 2. Data processing and model construction procedure.
Fig 3
Fig 3. Histogram of aPTT values after the (A) first dose and (B) multiple doses of heparin.
Fig 4
Fig 4. Contributing variables for predictive performance in (A) first and (B) multiple heparin infusion patients.
The contributions to the prediction model were calculated as follows. For the first and multiple heparin infusion patient prediction, the random forest model with data imputed based on static data was used. aPTT: activated partial thromboplastin time; BHC after SA: blood heparin concentration after the starting point of administration; AT-III: antithrombin III; Urine volume: amount of urine output; CBV: circulation blood volume; PT-INR: prothrombin time-international normalized ratio; SBP: systolic blood pressure; AST: aspartate aminotransferase; ALT: alanine aminotransferase; Elapsed time: elapsed time from baseline aPTT measurement to target aPTT measurement; BHC before SA: blood heparin concentration before the starting point of administration; ECMO: extracorporeal membrane oxygenation; TFV: total fluid volume.

Similar articles

References

    1. Hylek EM, Regan S, Henault LE, Gardner M, Chan AT, Singer DE, et al. Challenges to the effective use of unfractionated heparin in the hospitalized management of acute thrombosis. Arch Intern Med. 2003;163(5):621–7. doi: 10.1001/archinte.163.5.621 - DOI - PubMed
    1. Ting C, Sylvester KW, Schurr JW. Time in the therapeutic range for assessing anticoagulation quality in patients receiving continuous unfractionated heparin. Clin Appl Thromb Hemost. 2018;24(9_suppl):178S-181S. doi: 10.1177/1076029618798944 - DOI - PMC - PubMed
    1. Ghassemi MM, Richter SE, Eche IM, Chen TW, Danziger J, Celi LA. A data-driven approach to optimized medication dosing: a focus on heparin. Intensive Care Med. 2014;40(9):1332–9. doi: 10.1007/s00134-014-3406-5 - DOI - PMC - PubMed
    1. Su L, Liu C, Li D, He J, Zheng F, Jiang H, et al. Toward optimal heparin dosing by comparing multiple machine learning methods: retrospective study. JMIR Med Inform. 2020;8(6):e17648. doi: 10.2196/17648 - DOI - PMC - PubMed
    1. Li D, Gao J, Hong N, Wang H, Su L, Liu C, et al. A clinical prediction model to predict heparin treatment outcomes and provide dosage recommendations: development and validation study. J Med Internet Res. 2021;23(5):e27118. doi: 10.2196/27118 - DOI - PMC - PubMed