Improved chi-square feature selection for robust heart disease data classification
Heba Nayl , Elkhateeb S. Aly , Amira Rezk , M. E. Fares
AIMS Mathematics ›› 2026, Vol. 11 ›› Issue (1) : 2682 -2701.
Early diagnosis of heart disease is vital for reducing mortality and improving patient outcomes; yet, accurate prediction remains a significant challenge owing to the complexity and high dimensionality of medical data. Data preprocessing is essential for overcoming these issues by cleaning, transforming, reducing, and balancing data to provide reliable inputs for feature selection and classification. This study introduces an improved chi-square ($ \chi^{2} $) feature selection framework combined with multiple classifiers to enhance predictive performance. Our method was applied to Cleveland heart disease and diabetes datasets, where numeric attributes were discretized into categorical values, enabling $ \chi^{2} $ to select the most informative features while eliminating redundancy. Several classifiers, including support vector machine (SVM), logistic regression (LR), K-nearest neighbors (KNN), and naive Bayes (NB), were trained using both the reduced subset and the complete feature set. Results show that the preprocessing include $ \chi^{2} $ feature selection, achieved the highest performance. On the Cleveland dataset, the model attained a mean accuracy of 93.72%, precision of 94.01%, recall of 93.72%, F1-score of 93.74%, and an area under the curve(AUC) of 97.87%, while on the diabetes dataset, it achieved mean values of 93.55% accuracy, 94.23% precision, 93.55% recall, 93.48% F1-score, and an AUC 93.53%. The main contribution of this work lies in integrating discretization with $ \chi^{2} $ based selection to produce a compact and discriminative feature subset. With a minimal number of selected features, the proposed approach delivers robust, accurate, and computationally efficient heart disease prediction, outperforming existing methods.
heart disease prediction / feature selection / chi-square statistical test / naive Bayes / classification performance
| [1] |
World Health Organization (WHO), Cardiovascular diseases, World Health Organization office, 2025. Available from: https://www.who.int/health-topics/cardiovascular-diseases/#tab |
| [2] |
H. Ahmed, E. M. Younis, A. Hendawi, A. A. Ali, Heart disease identification from patients' social posts, machine learning solution on Spark, Future Gener. Comp. Sy., 111, (2020), 714–722. https://doi.org/10.1016/j.future.2019.09.056 |
| [3] |
|
| [4] |
|
| [5] |
|
| [6] |
|
| [7] |
|
| [8] |
|
| [9] |
|
| [10] |
|
| [11] |
|
| [12] |
|
| [13] |
|
| [14] |
|
| [15] |
I. A. Venkatkumar, S. J. K. Shardaben, Comparative study of data mining clustering algorithms, Proceedings of International Conference on Data Science and Engineering (ICDSE), 2016, 1–7. https://doi.org/10.1109/ICDSE.2016.7823946 |
| [16] |
|
| [17] |
S. Umadevi, K. S. J. Marseline, A survey on data mining classification algorithms, Proceedings of International Conference on Signal Processing and Communication (ICSPC), 2017,264–268. https://doi.org/10.1109/CSPC.2017.8305851 |
| [18] |
|
| [19] |
A. Kunjir, H. Sawant, N. Shaikh, Data mining and visualization for prediction of multiple diseases in healthcare, Proceedings of International Conference on Big Data Analytics and Computational Intelligence (ICBDAC), 2017,329–334. https://doi.org/10.1109/ICBDACI.2017.8070858 |
| [20] |
X. Zhou, C. Yang, N. Meng, Method of knowledge representation on spatial classification, Proceedings of Sixth International Conference on Fuzzy Systems and Knowledge Discovery, 2009,237–240. https://doi.org/10.1109/FSKD.2009.775 |
| [21] |
Y. Guowei, L. Xinghua, T. Xuyan, A new knowledge representation based matter element system and the related extension reasoning, Proceedings of International Conference on Natural Language Processing and Knowledge Engineering, 2003, 89–94. https://doi.org/10.1109/NLPKE.2003.1275874 |
| [22] |
|
| [23] |
|
| [24] |
|
| [25] |
|
| [26] |
|
| [27] |
|
| [28] |
|
| [29] |
S. García, J. Luengo, F. Herrera, Data preprocessing in data mining, Cham: Springer, 2015. https://doi.org/10.1007/978-3-319-10247-4 |
| [30] |
|
| [31] |
|
| [32] |
|
| [33] |
|
| [34] |
|
| [35] |
|
| [36] |
|
| [37] |
A. Alizadeh Naeini, M. Babadi, S. Homayouni, Assessment of normalization techniques on the accuracy of hyperspectral data clustering, Int. Arch. Photogramm. Remote Sens. Spatial Inf. Sci., XLII-4/W4 (2017), 27–30. https://doi.org/10.5194/isprs-archives-XLII-4-W4-27-2017 |
| [38] |
|
| [39] |
|
| [40] |
|
| [41] |
|
| [42] |
H. Liu, R. Setiono, Chi2: feature selection and discretization of numeric attributes, Proceedings of the 7th IEEE International Conference on Tools with Artificial Intelligence, 1995,388–391. https://doi.org/10.1109/TAI.1995.479783 |
| [43] |
|
| [44] |
Ž. Vujović, Classification model evaluation metrics, Int. J. Adv. Comput. Sci., 12 (2021), 599–606. https://doi.org/10.14569/IJACSA.2021.0120670 |
| [45] |
N. Boyko, K. Boksho, Application of the naive Bayesian classifier in work on sentimental analysis of medical data, Proceedings of 3rd International Conference on Informatics and Data-Driven Medicine, 2020, 1–12. |
| [46] |
|
| [47] |
|
| [48] |
P. Tang, M. Tseng, Medical data mining using BGA and RGA for weighting of features in fuzzy k-NN classification, Proceedings of International Conference on Machine Learning and Cybernetics, 2009, 3070–3075. https://doi.org/10.1109/ICMLC.2009.5212633 |
| [49] |
|
| [50] |
M. Islam, M. Chowdhury, S. Khan, Medical image classification using an efficient data mining technique, Proceedings of 7th Asia-Pacific Complex Systems Conference, 2004, 34–42. |
| [51] |
Y. Xing, J. Wang, Z. Zhao, Combination data mining methods with new medical data to predicting outcome of coronary heart disease, Proceedings of International Conference on Convergence Information Technology, 2007,868–872. https://doi.org/10.1109/ICCIT.2007.204 |
| [52] |
|
| [53] |
|
| [54] |
P. Komarek, Logistic regression for data mining and high-dimensional classification, Ph.D Thesis, Carnegie Mellon University, 2004. |
| [55] |
|
| [56] |
|
| [57] |
|
| [58] |
|
| [59] |
|
/
| 〈 |
|
〉 |