Research Article

Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability

Volume: 6 August 7, 2026
TR EN

Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability

Abstract

Duplicate clinical profiles can place the same observation in both training and test partitions, producing optimistic performance estimates that do not represent generalization to independent cases. This benchmark audit examined a widely used heart disease dataset containing 1025 rows and 13 predictors. Data-integrity analysis identified 302 unique clinical profiles and 723 redundant rows. Logistic Regression, Gaussian Naive Bayes, k-Nearest Neighbors, Random Forest, Extra Trees, and Histogram-Based Gradient Boosting were evaluated under naive row-level, group-safe, and deduplicated repeated five-fold cross-validation. Performance was assessed at the profile level using classification, discrimination, and calibration measures. Under naive validation, k-Nearest Neighbors, Random Forest, and Extra Trees achieved accuracy and ROC-AUC values of 1.000. After deduplication, their accuracy ranged from 0.8245 to 0.8377. For Random Forest, naive validation inflated accuracy by 0.1722 and ROC-AUC by 0.0950. In the leakage-free evaluation, Logistic Regression achieved the highest ROC-AUC of 0.9128 and the lowest Brier score of 0.1142. Sigmoid calibration reduced the Random Forest expected calibration error from 0.0563 to 0.0384. A nested cross-validation sensitivity analysis showed modest and inconsistent changes after hyperparameter optimization, with no statistically significant improvement across the outer folds. Permutation importance identified thal, cp, and ca as the most influential predictors. These findings demonstrate that data integrity and the definition of the independent observation unit should be examined before near-perfect clinical machine-learning performance is interpreted as algorithmic superiority.

Keywords

References

  1. [1] World Health Organization, “Cardiovascular diseases (CVDs),” WHO, 2025.
  2. [2] G. A. Mensah et al., “Global Burden of Cardiovascular Diseases and Risks, 1990-2022,” Journal of the American College of Cardiology, vol. 82, no. 25, pp. 2350–2473, Dec. 2023, doi: 10.1016/j.jacc.2023.11.007.
  3. [3] K. Shameer, K. W. Johnson, B. S. Glicksberg, J. T. Dudley, and P. P. Sengupta, “Machine learning in cardiovascular medicine: are we there yet?,” Heart, vol. 104, no. 14, pp. 1156–1164, Jul. 2018, doi: 10.1136/heartjnl-2017-311198.
  4. [4] G. Quer, R. Arnaout, M. Henne, and R. Arnaout, “Machine Learning and the Future of Cardiovascular Care: JACC State-of-the-Art Review,” Journal of the American College of Cardiology, vol. 77, no. 3, pp. 300–313, Jan. 2021, doi: 10.1016/j.jacc.2020.11.030.
  5. [5] E. Christodoulou, J. Ma, G. S. Collins, E. W. Steyerberg, J. Y. Verbakel, and B. Van Calster, “A systematic review shows no performance benefit of machine learning over logistic regression for clinical prediction models,” Journal of Clinical Epidemiology, vol. 110, pp. 12–22, Jun. 2019, doi: 10.1016/j.jclinepi.2019.02.004.
  6. [6] R. Detrano et al., “International application of a new probability algorithm for the diagnosis of coronary artery disease,” The American Journal of Cardiology, vol. 64, no. 5, pp. 304–310, Aug. 1989, doi: 10.1016/0002-9149(89)90524-9.
  7. [7] W. S. Andras Janosi, “Heart Disease.” UCI Machine Learning Repository, 1989. doi: 10.24432/C52P4X.
  8. [8] G. S. Collins, J. B. Reitsma, D. G. Altman, and K. G. M. Moons, “Transparent reporting of a multivariable prediction model for individual prognosis or diagnosis (TRIPOD): the TRIPOD statement,” BMJ, vol. 350, no. jan07 4, pp. g7594–g7594, Jan. 2015, doi: 10.1136/bmj.g7594.

Details

Primary Language

English

Subjects

Machine Learning (Other)

Journal Section

Research Article

Publication Date

August 7, 2026

Submission Date

July 19, 2026

Acceptance Date

August 7, 2026

Published in Issue

Year 2026 Volume: 6

APA
Kilim, O. (2026). Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability. Advances in Artificial Intelligence Research, 6, 52-66. https://doi.org/10.54569/aair.1998842
AMA
1.Kilim O. Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability. Adv. Artif. Intell. Res. 2026;6:52-66. doi:10.54569/aair.1998842
Chicago
Kilim, Oğuzhan. 2026. “Duplicate Clinical Profiles As a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability”. Advances in Artificial Intelligence Research 6 (August): 52-66. https://doi.org/10.54569/aair.1998842.
EndNote
Kilim O (August 1, 2026) Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability. Advances in Artificial Intelligence Research 6 52–66.
IEEE
[1]O. Kilim, “Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability”, Adv. Artif. Intell. Res., vol. 6, pp. 52–66, Aug. 2026, doi: 10.54569/aair.1998842.
ISNAD
Kilim, Oğuzhan. “Duplicate Clinical Profiles As a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability”. Advances in Artificial Intelligence Research 6 (August 1, 2026): 52-66. https://doi.org/10.54569/aair.1998842.
JAMA
1.Kilim O. Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability. Adv. Artif. Intell. Res. 2026;6:52–66.
MLA
Kilim, Oğuzhan. “Duplicate Clinical Profiles As a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability”. Advances in Artificial Intelligence Research, vol. 6, Aug. 2026, pp. 52-66, doi:10.54569/aair.1998842.
Vancouver
1.Oğuzhan Kilim. Duplicate Clinical Profiles as a Source of Data Leakage in Heart Disease Classification: A Benchmark Audit of Validation, Calibration, and Explainability. Adv. Artif. Intell. Res. 2026 Aug. 1;6:52-66. doi:10.54569/aair.1998842

88x31.png
Advances in Artificial Intelligence Research is an open access journal which means that the content is freely available without charge to the user or his/her institution. All papers are licensed under a Creative Commons Attribution-NonCommercial 4.0 International License, which allows users to distribute, remix, adapt, and build upon the material in any medium or format for non-commercial purposes only, and only so long as attribution is given to the creator.

Graphic design @ Özden Işıktaş