How to give inputs to classifier ?

1 次查看(过去 30 天)
Svn classifier

采纳的回答

Timon Viola
Timon Viola 2018-5-12
If you have extracted the trained SVM from the Classification Learner app this is how you do it:
%you trained it to predict - let's say - images:
trainedClassifier = trainedModel.ClassificationSVM; %You export the trainedModel struct from the app.
[imagepred] = predict(trainedClassifier,imagefeatures);
%imagepred - output data (usually 'categorical' type) for more information look up the predict function.
If this is not your problem please try to specify more details :)

更多回答(0 个)

Community Treasure Hunt

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

Start Hunting!

Translated by