Question: Given a dataset with 3 Boolean variables 1,2 and a label/target Y, where Y=1 a student has passed an exam. Figure below shows 4 samples

 Given a dataset with 3 Boolean variables 1,2 and a label/target

Given a dataset with 3 Boolean variables 1,2 and a label/target Y, where Y=1 a student has passed an exam. Figure below shows 4 samples (points), 3 positive (passed the exam). 1 negative (failed). a) If we train a KNN classifier (for K=1 ) on data above, which sample(5) will be misclassified by this KNN? (Hint: Remember what happens to KNN when K=1 ) b) Which classifier should be better for the data above and why? Logistic Regression or Linear Regression c) Couid any Logistic Regression classifier perfectly classify data above? What will happen if we change the point (0,1) from 'plus +' to 'minus

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 Databases Questions!