Anyone have any idea how knnclassify is implemented in Matlab? I was wondering if they use a kd-tree for efficient distance computations. Any ideas?
Anyone have any idea how knnclassify is implemented in Matlab? I was wondering if
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
I think the
matlabdocumentation related to this is very clear. However your question about... use a kd-tree for efficient distance computationsis not quite so clear.I mainly mean who cares, but if you do; then do some timings between alternatives.
Anyway the question with ‘rules’-parameter is way much more complicated, than just finding out some simple
kd-treeusage. So please really try to time your operations first and if they are not sufficient somehow, I’ll surely be able to fine tune them for you then!