/Heart-Disease-Prediction

Heart Disease Prediction using Machine Learning algorithms like Decision Tree and KNN Algorithms

Primary LanguageJupyter Notebook

Heart-Disease-Prediction-using-Machine-Learning

Heart Disease Prediction using Machine Learning algorithms like Decision Tree and KNN Algorithms

First Step - Analyze the columns of the Dataset.

Histograms -

image

Seaborn -

image

Seaborn Barplot for moret than 2 columns -

image

Plotly -

image

Heatmap -

image

Second Step - Creating Displot

image

I have had used 2 Algorithms

  1. Decision Tree Classifier
  2. K - Nearest Neighbors Classifier Algorithm

Accuracy after using Algorithms

  1. Decision Tree Classifier - 76%
  2. K - Nearest Neighbors Classifier Algorithm - 85%

Accuracy Barplot

image

With this Barplot we can say that in this case KNN Algorithm is more accurate than Decision Tree Classifier.

Thank You