The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
"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
good ideas, looks like I can get what I'm looking for thru data to similarity operator. Also, the graph outputs (spring) are especially helpful in visualizing the KNN method.
1
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.