Due to recent updates, all users are required to create an Altair One account to login to the RapidMiner community. Click the Register button to create your account using the same email that you have previously used to login to the RapidMiner community. This will ensure that any previously created content will be synced to your Altair One account. Once you login, you will be asked to provide a username that identifies you to other Community users. Email us at Community with questions.
Explanation of KNNClassificationModel.java ?
ademuchlis
Member Posts: 7 Contributor II
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.javawhich 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
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..
Tagged:
0
Answers
https://github.com/rapidminer/rapidminer-studio/tree/master/src/main/java/com/rapidminer/operator/learner/lazy
You will see the exact java code:
Scott