Question: a. Make up a set of three records, each with two numeric predictor variables and one categorical target variable, so that the classification would not

a. Make up a set of three records, each with two numeric predictor variables and one categorical target variable, so that the classification would not change regardless of the value of k.

b. Refer to Exercise a. Alter your data set so that the classification changes for different values of k.

c. Refer to Exercise b. Find the Euclidean distance between each pair of points. Using these points, verify that Euclidean distance is a true distance metric.

Note:

Topic: k-NEAREST NEIGHBORALGORITHM

Book: Discovering Knowledge in Data: An Introduction to Data Mining (Second Edition).

Step by Step Solution

3.46 Rating (162 Votes )

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock

The exanple set of three recods are shoum Belorw Recold Age NaK Age cadegory New 18 135 ... View full answer

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

Document Format (2 attachments)

PDF file Icon

635db2b5d1bff_178105.pdf

180 KBs PDF File

Word file Icon

635db2b5d1bff_178105.docx

120 KBs Word File

Students Have Also Explored These Related Accounting Questions!