Challenge

Project 1

Here are the accuracy results for each model in predicting heart disease:

Logistic Regression: 81.5%

K-Nearest Neighbors: 70%

Support Vector Machine: 55%

Decision Tree Classifier: 98%

Random Forest Classifier: 99.5%

Both the Decision Tree and Random Forest classifiers achieved the highest accuracy.

This suggests these models might be particularly effective for this dataset,

although further evaluation with additional metrics (e.g., precision, recall) could provide more insights

into their performance.

Your portfolio, next

Ship work like this
in your own course.

Talk to a career counsellor

Free 20-minute call. We'll map the right course to where you want to work.

By submitting you agree to our Terms and Privacy Policy.