开发者

How does Matlab implement knnclassify?

Anyone have any idea how knnclassify is implemented in Matlab? I was wondering if they use a kd-tree for efficient distance computations开发者_如何学C. Any ideas?


I think the matlab documentation related to this is very clear. However your question about ... use a kd-tree for efficient distance computations is 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-tree usage. 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!

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜