KNN classification

Hai.. I am using KNN classification algorithm. Which distance measure is used by default when i use the function 'knnsearch' to classify my data ? And if i want to use some other distance measure methods how can i accomplish it using the same function ? A small example would be much helpful to understand it as i could not get it after so many trails. Thanks in advance.

 采纳的回答

Tom Lane
Tom Lane 2012-2-19

0 个投票

You asked this in another posting. See my answer there.

1 个评论

thanq sir...
both the questions were same. so i will delete another question and accept this.-)

请先登录,再进行评论。

更多回答(0 个)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by