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

Explanation of KNNClassificationModel.java ?

ademuchlisademuchlis Member Posts: 7 Contributor II
edited September 2019 in Help
hi,
I know Rapidminer have documentation about the KNN algorithm in the following link
https://github.com/rapidminer/rapidminer-studio/blob/master/src/main/java/com/rapidminer/operator/learner/lazy/KNNClassificationModel.java

which means the KNN algorithm is also derived from the Java project right ?.
can anyone explain the algorithm in a simpler language ?, maybe like Pseudocode? or easier to understand.

because I see a slight difference with the usual KNN algorithm. I have asked the difference here.
https://community.rapidminer.com/discussion/55963/how-rapidminer-handle-same-distance-for-knn-algorithm#latest

Or can it be said that if there is an equal distance, then Rapidminer takes a label that is in the same order as the first queue?

thanks in advance for your help..

Answers

Sign In or Register to comment.