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.

 Accepted Answer

Tom Lane
Tom Lane on 19 Feb 2012

0 votes

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

1 Comment

Pramod Bhat
Pramod Bhat on 23 Feb 2012
thanq sir...
both the questions were same. so i will delete another question and accept this.-)

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!