Clear Filters
Clear Filters

how to train the classifier on the testing set

1 view (last 30 days)
Gul
Gul on 18 Mar 2018
Reopened: Gul on 5 Jul 2018
I did the classification on the training set after we converted the bag of feature vectors into double but now I want to train the same classifier on the testing set and when we use the same thing it's not working with double. if you know which function we can use please help us. the classifier not base of SVM because we want to train different classifiers

Answers (1)

Alok Nimrani
Alok Nimrani on 28 Mar 2018
Hi Wardah,
Please check the following link that lists the functions you can use based on the desired algorithm to train a classifier i.e. to fit a model to your data: https://www.mathworks.com/help/stats/supervised-learning-machine-learning-workflow-and-algorithms.html#bswlxh8
You can also try to use Classification Learner App to automatically train a selection of different classification models on your data and then explore the promising models. For more information, check this link: https://www.mathworks.com/help/stats/train-classification-models-in-classification-learner-app.html
The Classification Learner App and the classification functions come under Statistics and Machine Learning Toolbox. If you have this toolbox, you will be able to use the above suggested options.
Hope this helps.
Thanks

Community Treasure Hunt

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

Start Hunting!