Answered step by step
Verified Expert Solution
Link Copied!

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

image text in transcribed

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

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Heat Transfer

Authors: Jack Holman

10th edition

73529362, 978-0073529363

More Books

Students also viewed these Mechanical Engineering questions