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
. 2024 Mar-Apr:83:71-79.
doi: 10.1016/j.jelectrocard.2024.01.008. Epub 2024 Feb 8.

Prediction of certainty in artificial intelligence-enabled electrocardiography

Affiliations

Prediction of certainty in artificial intelligence-enabled electrocardiography

Anthony Demolder et al. J Electrocardiol. 2024 Mar-Apr.

Abstract

Background: The 12‑lead ECG provides an excellent substrate for artificial intelligence (AI) enabled prediction of various cardiovascular diseases. However, a measure of prediction certainty is lacking.

Objectives: To assess a novel approach for estimating certainty of AI-ECG predictions.

Methods: Two convolutional neural networks (CNN) were developed to predict patient age and sex. Model 1 applied a 5 s sliding time-window, allowing multiple CNN predictions. The consistency of the output values, expressed as interquartile range (IQR), was used to estimate prediction certainty. Model 2 was trained on the full 10s ECG signal, resulting in a single CNN point prediction value. Performance was evaluated on an internal test set and externally validated on the PTB-XL dataset.

Results: Both CNNs were trained on 269,979 standard 12‑lead ECGs (82,477 patients). Model 1 showed higher accuracy for both age and sex prediction (mean absolute error, MAE 6.9 ± 6.3 years vs. 7.7 ± 6.3 years and AUC 0.946 vs. 0.916, respectively, P < 0.001 for both). The IQR of multiple CNN output values allowed to differentiate between high and low accuracy of ECG based predictions (P < 0.001 for both). Among 10% of patients with narrowest IQR, sex prediction accuracy increased from 65.4% to 99.2%, and MAE of age prediction decreased from 9.7 to 4.1 years compared to the 10% with widest IQR. Accuracy and estimation of prediction certainty of model 1 remained true in the external validation dataset.

Conclusions: Sliding window-based approach improves ECG based prediction of age and sex and may aid in addressing the challenge of prediction certainty estimation.

Keywords: Artificial intelligence; Certainty; Deep learning; ECG; Prediction.

PubMed Disclaimer

Conflict of interest statement

Declaration of competing interest None.

LinkOut - more resources