Getting the distances from classes in knnclassify

1 visualización (últimos 30 días)
Kris zenitis
Kris zenitis el 25 de Jun. de 2014
I ve got a test and train set and I want to create a classifier using knnclassify. I using matlab knnclassify class = knnclassify(words, dictionary, 1:20); where matrix words are the test set dictionary the train set and 1:20 my labels. I am wondering how is it possible to get except from the returned class the distance from those classes in the output.

Respuestas (0)

Categorías

Más información sobre Hypothesis Tests en Help Center y File Exchange.

Etiquetas

Community Treasure Hunt

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

Start Hunting!

Translated by