Machine Learning-Based Prediction of Atrial Fibrillation Risk Using Electronic Medical Records in Older Aged Patients

Am J Cardiol. 2023 Jul 1:198:56-63. doi: 10.1016/j.amjcard.2023.03.035. Epub 2023 May 18.

Abstract

Atrial fibrillation (AF) is an independent risk factor that increases the risk of stroke 5-fold. The purpose of our study was to develop a 1-year new-onset AF predictive model by machine learning based on 3-year medical information without electrocardiograms in our database to identify AF risk in older aged patients. We developed the predictive model according to the Taipei Medical University clinical research database electronic medical records, including diagnostic codes, medications, and laboratory data. Decision tree, support vector machine, logistic regression, and random forest algorithms were chosen for the analysis. A total of 2,138 participants (1,028 women [48.1%]; mean [standard deviation] age 78.8 [6.8] years) with AF and 8,552 random controls (after the matching process) without AF (4,112 women [48.1%]; mean [standard deviation] age 78.8 [6.8] years) were included in the model. The 1-year new-onset AF risk prediction model based on the random forest algorithm using medication and diagnostic information, along with specific laboratory data, attained an area under the receiver operating characteristic of 0.74, whereas the specificity was 98.7%. Machine learning-based model focusing on the older aged patients could offer acceptable discrimination in differentiating the risk of incident AF in the next year. In conclusion, a targeted screening approach using multidimensional informatics in the electronic medical records could result in a clinical choice with efficacy for prediction of the incident AF risk in older aged patients.

Publication types

  • Randomized Controlled Trial
  • Research Support, Non-U.S. Gov't

MeSH terms

  • Aged
  • Atrial Fibrillation* / diagnosis
  • Atrial Fibrillation* / epidemiology
  • Atrial Fibrillation* / etiology
  • Electronic Health Records
  • Female
  • Humans
  • Machine Learning
  • Middle Aged
  • Risk Factors
  • Stroke* / epidemiology
  • Stroke* / etiology
  • Stroke* / prevention & control