Skip to content

Testing the effectiveness of different Machine Learning models at predicting heart failure

Notifications You must be signed in to change notification settings

ShreyanshMisra/HeartDiseasePrediction

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 

Repository files navigation

Predicting Heart Failure with Machine Learning

Testing the effectiveness of different Machine Learning models at predicting heart failure

Introduction

This investigation involved analyzing patient records and diagnoses from Cleveland Clinic to identify symptoms that highly correlated to heart disease fatalities, then evaluating the effectiveness of 3 machine learning models at predicting heart disease.

An effective model accurately predicts whether a patient, given their described symptoms, is likely to experience heart failure. I used the Logistic Regression model, Decision Tree classifier, and K-Nearest Neighbors algorithm to predict whether a patient would experience heart failure.

Results

We used a correlation matrix to identify chest pain, ST depression, number of major blood vessels, and thalassemia as symptoms with the highest correlation to heart disease.

The Logistic Regression model was most effective at predicting heart disease with an accuracy of 88%. Similarly to what we identified through the correlation matrix, the most important features in the logistic regression model were the number of major blood vessels, chest pain, and thalassemia.

Files

  • data.csv
  • prediction.ipynb

Citations

About

Testing the effectiveness of different Machine Learning models at predicting heart failure

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published