Question:

Given the two-dimensional dataset consisting of 5 data points from two classes (circles and squares) and assume that the Euclidean distance is used to measure the distance between two points. The minimum odd value of k in k-nearest neighbor algorithm for which the diamond (◊) shaped data point is assigned the label square is ________.
two-dimensional dataset

Updated On: Jul 9, 2024
Hide Solution
collegedunia
Verified By Collegedunia

Correct Answer: 5

Solution and Explanation

The correct answer is 5.
Was this answer helpful?
0
0

Top Questions on Random variables

View More Questions