Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(a) Recall from the notes we had the following data set for the KNN model.Instead of using Euclidean distance, compare the results from what is

(a) Recall from the notes we had the following data set for the KNN model.Instead of using Euclidean distance, compare the results from what is obtained in the notes by using distance=[|x_i-x|+|y_i-y|] to now predict the classification for (22,6) for k =3.Make sure to post the results in the table below.Use a simple decision rule.

X Y Classification (A or B) Distance

5 14 A

6 49 B

3 17 A

1 60 A

17 29 B

63 50 A

23 61 B

69 54 B

3 76 B

53 9 A

4 37 B

25 11 A

22 6 ?? -

(b) Given the following Diagram.Predict the classification of:when we let k =9 between a heart, yellow ball, or smiley face.Use concentric circles to make your decision.Note that the distance is measured from the cross to the object using the closest edges.

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

Project Management in Practice

Authors: Samuel J. Mantel Jr., Jack R. Meredith, Sco

4th edition

470533013, 978-0470533017

More Books

Students also viewed these General Management questions