MATLAB: KNN classification

classificationdata analysisstatistics

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.

Best Answer

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