Answered step by step
Verified Expert Solution
Question
1 Approved Answer
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 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
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started