GATE 2024 Data Science and Artificial Intelligence question: Given the two-dimensional dataset consisting of 5 data points from two classes (circles…
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 in -nearest neighbor algorithm for which the diamond () shaped data point is assigned the label square is ______.

Show answer
Official answer: 5