Federated and ensemble learning framework with optimized feature selection for heart disease detection
Olfa Hrizi , Karim Gasmi , Abdulrahman Alyami , Adel Alkhalil , Ibrahim Alrashdi , Ali Alqazzaz , Lassaad Ben Ammar , Manel Mrabet , Alameen E.M. Abdalrahman , Samia Yahyaoui
AIMS Mathematics ›› 2025, Vol. 10 ›› Issue (3) : 7290 -7318.
Predictive models for early identification of heart disease must be precise and efficient because it is a major worldwide health concern. To improve classification performance while protecting data privacy, this study investigated a combined method that uses ensemble learning, feature selection, and federated learning (FL). The ensemble-based approaches proved the most predictive after testing several different machine learning (ML) models, including random forests, the light gradient boosting machine, support vector machines, k-nearest neighbors, convolutional neural networks, and long short-term memory. We used particle swarm optimization (PSO) for feature selection, which optimized the most relevant features in conjunction with voting and stacking approaches to further increase the model's performance. In addition, federated learning was implemented to allow decentralized training while preserving sensitive medical data. The results highlight the effectiveness of combining these techniques in the detection of heart disease, providing a scalable and privacy-preserving solution for real-world healthcare applications. Two benchmark datasets were used to validate the proposed approach, ensuring the reliability and generalizability of the findings. Furthermore, we used four performance metrics, namely accuracy, precision, recall, and F1score, to evaluate the selected models. Finally, federated learning was included to handle privacy issues and guarantee safe access to private medical data. This distributed method allows model training without centralizing patient data, so it is compatible with strict data privacy rules. With up to 95% precision, our method shows a notable increase in prediction accuracy according to the testing results. This work offers a strong, scalable, and safe solution for the early identification of cardiovascular diseases by combining ensemble learning, feature selection, and federated learning, opening the way for more general uses in medical diagnostics.
heart disease detection / machine learning / federated learning / feature selection / optimization
| [1] |
|
| [2] |
|
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
S. Khader Basha, D. Roja, S. Santhj Priya, L. Dalavi, S. Srinivas Vellela, V. Reddy, Coronary heart disease prediction and classification using hybrid machine learning algorithms, In: 2023 International Conference on Innovative Data Communication Technologies and Application (ICIDCA), IEEE, 2023. https://doi.org/10.1109/ICIDCA56705.2023.10099579 |
| [9] |
R. Jahed, O. Asser, A. Al-Mousa, Using personal key indicators and machine learning-based classifiers for the prediction of heart disease, In: 2023 International Conference on Smart Computing and Application (ICSCA), IEEE, 2023. https://doi.org/10.1109/ICSCA57840.2023.10087430 |
| [10] |
|
| [11] |
C. Das, C. Das, M. Hossain, A. Rahman, H. Hossen, R. Hasan, Heart disease detection using ml, In: 2023 IEEE 13th Annual Computing and Communication Workshop and Conference (CCWC), IEEE, 2023. https://doi.org/10.1109/CCWC57344.2023.10099294 |
| [12] |
K. Pytlak, Indicators of heart disease (2022 update), 2022. Available from: https://www.kaggle.com/datasets/kamilpytlak/personal-key-indicators-of-heart-disease |
| [13] |
S. Chopra, N. Karla, R. Rani, Identification of cardiovascular disease using machine learning and ensemble learning, In: 2023 International Conference on Innovative Data Communication Technologies and Application (ICIDCA), IEEE, 2023. https://doi.org/10.1109/ICIDCA56705.2023.10099508 |
| [14] |
|
| [15] |
|
| [16] |
|
| [17] |
|
| [18] |
|
| [19] |
K. Prasanna, N. Challa, J. Nagaraju, Heart disease prediction using reinforcement learning technique, In: 2023 Third International Conference on Advances in Electrical, Computing, Communication and Sustainable Technologies (ICAECT), IEEE, 2023. https://doi.org/10.1109/ICAECT57570.2023.10118232 |
| [20] |
|
| [21] |
|
| [22] |
H. Ramesh, R. Pathinarupothi, Performance analysis of machine learning algorithms to predict cardiovascular disease, In: 2023 IEEE 8th International Conference for Convergence in Technology (I2CT), IEEE, 2023. https://doi.org/10.1109/I2CT57861.2023.10126428 |
| [23] |
M. Shail, R. Sreeja, S. Zainab, P. S. Sowmya, T. Akshay, S. Sindhu, Improving accuracy of heart disease prediction through machine learning algorithms, In: 2023 International Conference on Innovative Data Communication Technologies and Application (ICIDCA), IEEE, 2023. https://doi.org/10.1109/ICIDCA56705.2023.10100244 |
| [24] |
|
| [25] |
T. Mahmud, A. Barua, M. Begum, E. Chakma, S. Das, N. Sharmen, An improved framework for reliable cardiovascular disease prediction using hybrid ensemble learning, In: 2023 International Conference on Electrical, Computer and Communication Engineering (ECCE), IEEE, 2023. https://doi.org/10.1109/ECCE57851.2023.10101564 |
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
|
| [30] |
A. Jain, K. Kumar, R. Tiwari, N. Jain, V. Gautam, N. K. Trivedi, Machine learning-based detection of cardiovascular disease using classification and feature selection, In: 2023 IEEE 12th International Conference on Communication Systems and Network Technologies (CSNT), IEEE, 2023. https://doi.org/10.1109/CSNT57126.2023.10134672 |
| [31] |
A. Shukla, I. Khan, V. Sharma, M. Soni, S. Gupta, A. Kumar, A novel prediction system to diagnose heart disease, In: 2023 International Conference on Inventive Computation Technologies (ICICT), IEEE, 2023. https://doi.org/10.1109/ICICT57646.2023.10133988 |
| [32] |
|
| [33] |
G. Varshini, A. Ramya, C. Sravya, V. Kumar, B. K. Shukla, Improving heart disease prediction of classifiers with data transformation using pca and relief feature selection, In: 2023 Second International Conference on Electronics and Renewable Systems (ICEARS), IEEE, 2023. https://doi.org/10.1109/ICEARS56392.2023.10085401 |
| [34] |
|
| [35] |
M. Singh, L. M. Martins, P. Joanis, V. K. Mago, Building a cardiovascular disease predictive model using structural equation model & fuzzy cognitive map, In: International Conference on Fuzzy Systems (FUZZ), IEEE, 2016, 1377–1382. https://doi.org/10.1109/FUZZ-IEEE.2016.7737850 |
| [36] |
K. Sen, B. Verma, Heart disease prediction using a soft voting ensemble of gradient boosting models, randomforest, and gaussian naive bayes, In: 2023 4th International Conference for Emerging Technology (INCET), IEEE, 2023. https://doi.org/10.1109/INCET57972.2023.10170399 |
| [37] |
K. Gola, S. Arya, Satin bowerbird optimization-based classification model for heart disease prediction using deep learning in e-healthcare, In: 2023 IEEE/ACM 23rd International Symposium on Cluster, Cloud and Internet Computing Workshops (CCGridW), IEEE, 2023. https://doi.org/10.1109/CCGridW59191.2023.00063 |
| [38] |
|
| [39] |
A. Pandita, S. Yadav, S. Vashisht, A. Tyagi, Review paper on prediction of heart disease using machine learning algorithms, Int. J. Res. Appl. Sci. Eng. Technol., 9 (2021). |
| [40] |
A. Akella, S. Akella, Machine learning algorithms for predicting coronary artery disease: efforts toward an open-source solution, Future Sci. OA, 7 (2021), FSO698. |
| [41] |
|
| [42] |
|
| [43] |
S. Mokeddem, B. Atmani, M. Mokaddem, Supervised feature selection for diagnosis of coronary artery disease based on genetic algorithm, preprint paper, 2013. https://doi.org/10.48550/arXiv.1305.6046 |
| [44] |
|
/
| 〈 |
|
〉 |