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 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
Get step-by-step solutions from verified subject matter experts
