Question: Steve Show me was able to collect relatively clean sample records from the most recent census.He is interested in predicting whether a person made over
Steve Show me was able to collect relatively clean sample records from the most recent census.He is
interested in predicting whether a person made over $75,000 a year.Here the two features are
modeled with two Boolean variables X1, X2 {0,1}and label Y1 {0,1}, where Y = 1 indicates that a
person makes over $75,000 a year.The figure below shows three positive samples ("+" for Y = 1)
and one negative sample ("-" for Y = 0).
Answer these two questions based on the above scenario and figure
(a)If a KNN classifier (K = 1) is trained based on the data in the figure above, and then
subsequently classified, which of the above sample(s) must be misclassified by this classifier?
A) The sample at (0,0)
B) The sample at (1,0)
C) The sample at (0,1)
D) The sample at (1,1)
E) A, B and D
F) all of the above
G) none of the above
(b)This is a two part question
i)Is there a logistic regression classifier using X1and X2that can perfectly classify the examples
in the above figure? Please explain.
ii)Is there a logistic regression classifier using X1 and X2 that can perfectly classify the example
above if the label at point (0,1) is changed from "+" to "-"?Please explain.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
