GATE Assistant

Past questions › Data Science and Artificial Intelligence › GATE 2024

GATE 2024 · DA · NAT · 2 marks · Machine Learning › k-Nearest Neighbour & Naive Bayes

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 ______.

figure

Show answer

Official answer: 5

Practise this question with exam-style marking

Discussion

No discussion yet.

Join the discussion