how to train the classifier on the testing set

1 次查看(过去 30 天)
Gul
Gul 2018-3-18
重新打开: Gul 2018-7-5
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

回答(1 个)

Alok Nimrani
Alok Nimrani 2018-3-28
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!

Translated by