Question: Q.2. Consider the following dataset set containing two features X1 and X2. The output (dependent feature) is denoted by y. a) In which class the

 Q.2. Consider the following dataset set containing two features X1 and

Q.2. Consider the following dataset set containing two features X1 and X2. The output (dependent feature) is denoted by y. a) In which class the data point XI=5,X2=6 will belong to if you use kNN algorithm with k=3 and distance measure as Euclidean distance? b) In which class the data point X1=5,X2=6 will belong to if you use kNN algorithm with k=5 and distance measure as Euclidean distance? c) For which value of k ( 3 or 5 ), kNN algorithm will give minimum leave one out cross validation (LOOCV) accuracy? Justify your answer by calculating LOOCV accuracies. (Marks: 4+4+10=18 )

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 Mechanical Engineering Questions!