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.

Answers (0)

Categories

Find more on Statistics and Machine Learning Toolbox in Help Center and File Exchange

Asked:

on 4 Aug 2018

Community Treasure Hunt

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

Start Hunting!