Question: Nearest Neighbour and Linear Classification ( 3 0 marks ) We have studied a linear classifier Logistic Regression y = ( wx + w 0
Nearest Neighbour and Linear Classification marks
We have studied a linear classifier Logistic Regression y wx w If z z
and y can be regarded as class and otherwise if z The parameters to be
learnt are w and w The Nearest neighbour classifierNN is a different approach to
learning from data. Suppose we are given N points x yxN yN where yi in ;
for a parameter k and given a new point x the kNN approach does the following: find
xj xjk the kclosest points to x then output y as the majority label from the set
yj yjk ie the most commonly occurring label among the knearest neighbours.
What advantages does the kNN approach offer over a linear classifier like the logistic
regression? marks
What advantages does the logistic regression offer over the kNN approach?
marks
What is the computational cost of predicting the label y marks
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
