"Retrieve KNN Distance Results"


Hi, is there an operator to extract distance results from application of KNN lazy learner to labeled and scored data? I would like to see the underlying data driving the predictions.
Tagged:
0
Best Answer
-
michaelgloven RapidMiner Certified Analyst, Member Posts: 46
Guru
Answers
Hi @michaelgloven
Not really sure 100% in my guessing, but maybe 'Cross Distances' operator might help you in this case?
I have never used it myself on real data but it seems it has same distance measures as k-NN does.
Vladimir
http://whatthefraud.wtf
Which distance are you looking for? The distances to the k nearest neighbors themselves would be fine for a k of 1 to 3, but will look pretty messy when you reach k=50+.
Here's a sample process, personally I'm not too keen.