Question: Use KNN ( with k = 7 ) , Decision Tree ( with random _ state = 5 ( this random state is used when

Use KNN (with k=7), Decision Tree (with random_state=5(this random state is used when you define your decision tree classifier. It is different from the random state that you used to split the data in part D)), and Logistic Regression Classifiers (with max_iter=400) to predict Heart Disease based on the training/testing datasets that you built in part (D). Then check, compare, and report the accuracy of these 3 classifiers. Which one is the best? Which one is the worst?

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!