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.

 Risposta accettata

Tom Lane
Tom Lane il 19 Feb 2012

0 voti

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

1 Commento

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

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by