Actually I already asked in rapidminer forum, but no one has given an answer yet.. https://community.rapidminer.com/discussion/55963/how-k-nn-algorithms-work-with-same-distance-in-rapidminer#latest
I can't find a satisfying answer for KNN-algorithm with same euclidean distance in rapidminer..
I found a similar question, but it's not in rapidminer K Nearest-Neighbor Algorithm
say k=5. Now I try to classify an unknown object by getting its 5 nearest neighbours. What to do, if distance is a lot of the same distance.. if after determining the 4 nearest neighbors, the next 2 (or more) nearest objects have the same distance and diferent label? Which object of these 2 or more rapidminer chosen as the 5th nearest neighbor?
I confused.. I try in excel, and the result is diferent with rapidminer for some data. in excel the result label is "LU": https://i.ibb.co/RSYnTWg/Capturess.jpg
but the result in rapidminer is "LT" : https://i.ibb.co/NKv0bmp/4.jpg
result rapidminer weighted vote is checked is "LU" : https://i.ibb.co/r68y05v/5.jpg
How rapidminer work with case like that... how rapidminer sorting the distance ?... something wrong with my data ?, or rapidminer sorting random if distance is same ?