Question: Here is a short dataset consisting of a binary outcome variable Y and two independent variables X 1 and X 2 . The independent variables
Here is a short dataset consisting of a binary outcome variable Y and two independent variables X and X The independent variables are normalized, so no need to normalize further.
XXY
Suppose you are asked to predict the outcome for X X Use KNN with k to predict this outcome. You can use Euclidean distance as the distance measure.
Predict the outcome with k
Use k with Manhattan distance and reevaluate the prediction. Should the prediction with k change? Why or why not? Is there another name you can use to call the prediction with k
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
