Yes, I assume this should work because the compute the label based on majority vote among the nearest neighbors.
KNN Classification Works Through Majority Vote Among Neighbors
By
–
By
–
Yes, I assume this should work because the compute the label based on majority vote among the nearest neighbors.