The Efficacy of Machine-Learning-Supported Smart System for Heart Disease Prediction

Nurul Absar1, Emon Kumar Das1, Shamsun Nahar Shoma1

  • 1Department of Computer Science and Engineering, BGC Trust University Bangladesh, Chittagong 4381, Bangladesh.

Insights

Machine learning models accurately detect heart disease, with AdaBoost and K-nearest neighbor achieving 100% accuracy on the CHSLB dataset. This enables convenient and cost-effective early diagnosis of cardiopathy.

Area of Science:

  • Cardiology
  • Computer Science
  • Data Science

Background:

  • Cardiopathy is a leading cause of death, often linked to lifestyle factors.
  • Early and cost-effective detection of heart disease remains a challenge.
  • Machine learning (ML) offers potential for improved diagnostic capabilities.

Purpose of the Study:

  • To evaluate the efficacy of four ML models for heart disease detection.
  • To identify key predictors contributing to heart disease prognosis.
  • To develop a user-friendly, computer-aided system for heart disease prediction.

Main Methods:

  • Four ML models were employed: Random Forest (RF), Decision Tree (DT), AdaBoost (AB), and K-nearest neighbor (KNN).
  • Models were trained and validated using the combined Cleveland, Hungary, Switzerland, and Long Beach (CHSLB) heart disease datasets.
  • A generalized algorithm was developed to assess the predictive strength of relevant factors.

Main Results:

  • On the CHSLB dataset, RF, DT, AB, and KNN achieved accuracies of 99.03%, 96.10%, 100%, and 100%, respectively.
  • Using the Cleveland dataset alone, RF and KNN demonstrated high accuracies of 93.44% and 97.83%.
  • A Streamlit-based application was developed for accessible disease prediction.

Conclusions:

  • ML models, particularly AB and KNN, show exceptional accuracy in detecting heart disease.
  • The developed system provides a convenient tool for early cardiopathy diagnosis.
  • The study contributes significant insights into predictor strength for heart disease prognosis.

Related Concept Videos

Heart Failure IV: Classification and Diagnostic Evaluation01:30

Heart Failure IV: Classification and Diagnostic Evaluation

Heart failure can be classified in various ways, with the most common classifications based on physical activity limitations, disease progression, severity, and treatment strategies.The Functional Classification of Heart Failure divides patients into four categories based on physical activity limitation due to symptom burden.Class I: Patients in this class have cardiac disease but no physical activity limitations. Ordinary activities like walking, climbing stairs, or routine tasks do not cause...
28
Cardiomyopathy III: Hypertrophic Cardiomyopathy01:29

Cardiomyopathy III: Hypertrophic Cardiomyopathy

Hypertrophic cardiomyopathy, or HCM, is an autosomal dominant genetic disorder characterized by asymmetric left ventricular hypertrophy without ventricular dilation. It is more common in men and is typically diagnosed in young, athletic adults.EtiologyHCM is primarily genetic and is caused by mutations in genes encoding sarcomeric proteins. Researchers have identified over 1400 mutations across at least 11 different genes. Among these, the most frequently occurring mutations are found in the...
45
Cardiomyopathy V: Interprofessional Care01:29

Cardiomyopathy V: Interprofessional Care

Managing cardiomyopathy involves addressing underlying or precipitating causes, treating heart failure with medications, and implementing dietary changes and a balanced exercise and rest regimen.Lifestyle ModificationsCardiomyopathy patients should adopt a low-sodium diet to reduce fluid retention and manage heart failure. A personalized exercise and rest plan helps maintain physical fitness without overstraining the heart. Avoiding alcohol and tobacco is essential to prevent further damage to...
30
Heart Failure V: Medical Management01:30

Heart Failure V: Medical Management

Medical Management of Acute Decompensated Heart Failure (ADHF)The primary goals of therapy for patients hospitalized with acute decompensated heart failure (ADHF) include:Relieving symptomsOptimizing volume statusSupporting oxygenation and ventilationMaintaining cardiac output (CO) and end-organ perfusionIdentifying and addressing the cause of ADHFPreventing complicationsProviding patient education on factors precipitating HF exacerbationPlanning for dischargeOngoing monitoring and assessment...
23