How to implement multiclass kNN in matlab?

I have been working on a dataset with 5 features and it has been classified into 3 classes. I have divided the data into training and testing. Can anyone help me with training the data with kNN algorithm in Matlab and later on predicting the results of the testing examples? It would be really helpful if you can also explain the arguments of the functions being used.

Respuestas (0)

Categorías

Más información sobre Statistics and Machine Learning Toolbox en Centro de ayuda y File Exchange.

Preguntada:

el 4 de Ag. de 2018

Community Treasure Hunt

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

Start Hunting!

Translated by