Heart Disease Prediction using Machine Learning algorithms like Decision Tree and KNN Algorithms
First Step - Analyze the columns of the Dataset.
Histograms -
Seaborn -
Seaborn Barplot for moret than 2 columns -
Plotly -
Heatmap -
Second Step - Creating Displot
I have had used 2 Algorithms
- Decision Tree Classifier
- K - Nearest Neighbors Classifier Algorithm
Accuracy after using Algorithms
- Decision Tree Classifier - 76%
- K - Nearest Neighbors Classifier Algorithm - 85%
Accuracy Barplot
With this Barplot we can say that in this case KNN Algorithm is more accurate than Decision Tree Classifier.