Leakage-Safe Explainable AI and Ensemble Feature Selection for Early Chronic Kidney Disease Prediction Using Minimal Biomarkers

Authors

  • Muheeb Ullah University Of Malakand Pakistan, Department of Computer Science and Information Technology Author
  • Zia Ullah Department Medical Lab Technology, Sarhad University of Science and Information Technology, Pakistan Author
  • Mehran Ali Gomal University DIK, Department of computer Science Author

DOI:

https://doi.org/10.66021/

Keywords:

Chronic Kidney Disease, Explainable Artificial Intelligence, Ensemble Learning, Feature Selection, Data Leakage, Minimal Biomarkers, SHAP, Clinical Decision Support

Abstract

Chronic kidney disease (CKD) is a progressive and often asymptomatic condition in which delayed detection substantially increases the risk of kidney failure and cardiovascular complications. Machine learning models reported for CKD prediction routinely achieve 99–100% accuracy, yet the trustworthiness of these results is rarely examined: preprocessing and feature selection are often fitted before data partitioning, evaluation stops at accuracy although screening decisions consume probabilities, and models depend on complete laboratory panels that low-resource settings cannot provide. This study re-evaluates CKD prediction on the public UCI dataset (400 patients, 24 attributes) under a leakage-safe protocol in which imputation, scaling and feature selection are fitted strictly inside cross-validation folds (repeated stratified five-fold, five repeats), and compares it directly with a leakage-prone protocol differing only in where those steps are fitted. Surprisingly, the optimism gap is negligible (soft-voting ensemble AUC 0.9998 under both protocols), showing that this benchmark is saturated rather than merely leaked. An ensemble feature-selection strategy — mutual information, recursive feature elimination, and Random Forest and XGBoost importances aggregated by Borda consensus, with stability verified across folds (Jaccard 0.85–0.92) — reduces the panel to five biomarkers (haemoglobin, serum creatinine, specific gravity, packed cell volume, albumin) with no significant loss of discrimination (AUC 0.9996 vs 0.9998; sensitivity 0.992 for both) across seven classifiers. Evaluation beyond accuracy shows that raw probabilities are miscalibrated (calibration slopes 0.78–2.71; isotonic recalibration halves the ensemble Brier score to 0.0037), that decision-curve net benefit exceeds treat-all at all thresholds from 0.05 to 0.50, and that at a realistic 10% screening prevalence the minimal panel attains a higher positive predictive value than the full panel (0.943 vs 0.892). SHAP explanations are consistent across model families (Spearman ρ = 0.87), panels (ρ up to 1.00) and diabetes/hypertension subgroups. The results support five-test, leakage-safe, recalibrated models as a reproducible basis for low-cost CKD screening research, pending external validation.

 

 

Downloads

Download data is not yet available.

Downloads

Published

2025-11-20

How to Cite

Leakage-Safe Explainable AI and Ensemble Feature Selection for Early Chronic Kidney Disease Prediction Using Minimal Biomarkers. (2025). Annual Methodological Archive Research Review, 3(11), 522-549. https://doi.org/10.66021/

Similar Articles

1-10 of 1456

You may also start an advanced similarity search for this article.

Most read articles by the same author(s)