Heart disease classification using optimized Machine learning algorithms


  • Mohammad Abood Kadhim Department of Computer Science, Al-Nahrain University, Baghdad, Iraq
  • Abdulkareem Merhej Radhi Computer Department/College of Science University AL-Nahrain, Baghdad, 10001, Iraq




Machine learning (ML), K-Nearest Neighbor (KNN), Support Vector Machines (SVM), Decision tree (DT), Random Forest, hyperparameters optimization


Early detection of heart disease is exceptionally critical to saving the lives of human beings. Heart attack is one of the primary causes of high death rates throughout the world, due to the lack of human and logistical resources in addition to the high costs of diagnosing heart diseases which plays a key role in the healthcare sector, this model is suggested. In the field of cardiology, patient data plays an essential role in the healthcare system. This paper presents a proposed model that aims to identify the optimal machine learning algorithm that can predict heart attacks with high accuracy in the early stages. The concepts of machine learning are used for training and testing the model based on the patient's data for effective decision-making. The proposed model consists of three stages, the first stage is patient data collection and processing, and the second stage is data training and testing using machine learning algorithms  Random Forest, Support Vector Machines, K-Nearest Neighbor, and Decision Tree) that show  The best classification (94.958 percent) with the Random Forest algorithm and the third stage is optimized the classification results using one of the hyperparameters optimization techniques random search that shows The best accuracy was (95.4 percent) obtained also with RF.


Download data is not yet available.




How to Cite

M. A. . Kadhim and Abdulkareem Merhej Radhi, “Heart disease classification using optimized Machine learning algorithms”, Iraqi Journal For Computer Science and Mathematics, vol. 4, no. 2, pp. 31–42, Feb. 2023.
DOI: 10.52866/ijcsm.2023.02.02.004
Published: 2023-02-26