Authors

  1. Cundric, Larsen BSc
  2. Bosnic, Zoran PhD
  3. Kaminsky, Leonard A. PhD
  4. Myers, Jonathan PhD
  5. Peterman, James E. PhD
  6. Markovic, Vidan PhD
  7. Arena, Ross PhD
  8. Popovic, Dejana MD, PhD

Abstract

Purpose: Maximal heart rate (HRmax) continues to be an important measure of adequate effort during an exercise test. The aim of this study was to improve the accuracy of HRmax prediction using a machine learning (ML) approach.

 

Methods: We used a sample from the Fitness Registry of the Importance of Exercise National Database, which included 17 325 apparently healthy individuals (81% males) who performed a maximal cardiopulmonary exercise test. Two standard formulas for HRmax prediction were tested: Formula1 = 220 - age (yr), root-mean-squared error (RMSE) 21.9, relative root-mean-squared error (RRMSE) 1.1; and Formula2 = 209.3 - 0.72 x age (yr), RMSE 22.7 and RRMSE 1.1. For ML model prediction, we used age, weight, height, resting HR, and systolic and diastolic blood pressure. The following ML algorithms to predict HRmax were applied: lasso regression (LR), neural networks (NN), support vector machine (SVM) and random forests (RF). An evaluation was performed using cross-validation and by computing the RMSE and RRMSE, Pearson correlation, and Bland-Altman plots. The best predictive model was explained with Shapley Additive Explanations (SHAP).

 

Results: The HRmax for the cohort was 162 +/- 20 bpm. All ML models improved HRmax prediction and reduced RMSE and RRMSE compared with Formula1 (LR: 20.2%, NN: 20.4%, SVM: 22.2%, and RF: 24.7%). The predictions of all algorithms significantly correlated with HRmax (r = 0.49, 0.51, 0.54, 0.57, respectively; P < .001). Bland-Altman analysis demonstrated lower bias and 95% CI for all ML models in comparison with standard equations. The SHAP explanation showed a high impact of all selected variables.

 

Conclusions: Machine learning, particularly the RF model, improved prediction of HRmax using readily available measures. This approach should be considered for clinical application to refine HRmax prediction.