Predicting Early Heart Attack with Machine Learning Techniques
Heart disease ranks among the most perilous ailments of our time, taking a toll on thousands of lives a year. Detection in its early stages can be lifesaver. A category of AI is machine learning that aids in the rapid, efficient, and cost-accurate assessment of cardiac disease. In this research, several ML models were trained handling the Cleveland heart disease dataset to determine which performed well in predicting heart disease cases. The selection of data attributes and the choice of ML algorithm have a great impact on the performances of different algorithms. The four machine learning models tested were Random Forest, Decision Tree, Logistic Regression, and Naive Bayes. This work has shown the Random Forest classifier to be the best one as far as the accuracy is concerned at 89.2%, where it is closely followed by the Naïve Bayes at 87%. Both logistic regressions achieved reasonably high accuracy at 85.2%, respectively. The decision tree was the least accurate of the others, with an accuracy of 82% and overall applicability in this case. Their comparisons were done based on various evaluation measures like erroneous rate, <tex xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink">$\mathrm{F}$</tex>-measure, recall, reliability, and clarity, where Random Forest outperformed the others. This study brings to light the capabilities of machine-learning techniques in Initial identification of cardiac conditions. Random Forest appears to be the version that performs most effectively. This study shows that ML can indeed be a great help for medical practitioners in their diagnostic procedures by refining them to enhance early detection and subsequent outcomes for patients.
Authors
- Sanjay Singla (ORCID: https://orcid.org/0000-0003-4047-6890)
- Puneet Sapra
- Narinder Kumar (ORCID: https://orcid.org/0000-0002-5481-1162)
- Ansh Raj (ORCID: https://orcid.org/0000-0002-7563-1144)
- Sandeep Singh Kang
- Gagandeep Singh (ORCID: https://orcid.org/0000-0002-5237-2178)
Institutions
- Chandigarh University (IN)
- Rayat Bahra University (IN)
Publication Details
- Published
- 2025-06-20
- DOI
- https://doi.org/10.1109/iccmso67468.2025.00033
- Primary Topic
- Artificial Intelligence in Healthcare
- Type
- article
- Field-Weighted Citation Impact
- 0.00