Question

A new query point's Euclidean distances to five labelled training points are: P1=2.1 (Class

  • A , P2=1.5 (Class
  • A , P4=1.8 (Class
  • A . Using the K-Nearest Neighbours algorithm with K=3, what class is predicted for the query point?
  • B , P3=3.0 (Class
  • B , P5=2.5 (Class
A Class A
B Class B
C A tie between Class A and Class B
D Cannot be determined without feature values
E Class A, because it has the most total occurrences among all 5 points
Practice Next

Hey! Ask a query

🎓
Think You're Ready for RBI Grade B?
RBI Grade B 2026 Phase 1 Memory Based Paper
  • 200 Questions with Detailed Solutions
  • Section-wise Coverage (GA, English, Quant & Reasoning)