Brain stroke (BS) and heart disease (HD) are leading causes of global mortality and long-term disability, underscoring the critical need for early and accurate diagnostic tools. This research addresses the dual challenge of developing high-performance predictive models while ensuring the privacy of sensitive patient data. We propose a framework that integrates ensemble machine learning (ML) models with a formal differential privacy (DP) mechanism. Using a dataset of 5110 samples with clinical features, we evaluate Extreme Gradient Boosting (XGB), Random Forest (RF), Light Gradient Boosting Machine (LGBM), and Categorical Boosting (CAT) for BS and HD prediction. To protect individual privacy, we apply the Gaussian mechanism of DP with two probabilities of failure (POF) parameters (10–5 and 10–6) and a privacy budget ranging from 0.5 to 5.0. A key novelty of this work is the application of Pareto frontier multi-objective optimization (PFMOO) to systematically identify the optimal trade-off between model accuracy and privacy constraints. Our approach successfully identifies optimal, privacy-preserving models: XGB achieves top performance for BS prediction (92.3% accuracy, 92.29% F1 score), with a POF of 10–6, while RF excels for HD detection (95.61% accuracy, 97.8% precision), with a POF of 10–5. Furthermore, we employ explainable AI (XAI) techniques, SHAP and LIME, to provide interpretability of the model decisions, enhancing clinical trust. This research delivers a robust, interpretable, and privacy-conscious framework for early disease detection, offering a significant advancement over existing methods by holistically balancing accuracy, data security, and transparency.
Hussain et al. (Fri,) studied this question.