Question: Question 2 : k - Nearest neighbours Table 1 is a modified subset of a dataset used to classify flowers. Table 1 : length and
Question : Nearest neighbours
Table is a modified subset of a dataset used to classify flowers.
Table : length and width used to classify items
A new instance new is found, and has to be classified.
a Plot all data points in Table using length and width as the axes, to show
their relative positions to the new instance.
b Use the NN algorithm with the Euclidian distance measure and
Calculate the distances between new and the existing data points. Show all
the calculated distances on your plot of the data points. Indicate the closest
neighbours clearly, and show the resulting classification.
Show ALL your calculations.
c Is the correct value of to use for the dataset in Table Explain why
or why not, and how to find the optimal value for
Step by Step Solution
There are 3 Steps involved in it
1 Expert Approved Answer
Step: 1 Unlock
Question Has Been Solved by an Expert!
Get step-by-step solutions from verified subject matter experts
Step: 2 Unlock
Step: 3 Unlock
