How to give inputs to classifier ?
1 visualización (últimos 30 días)
Mostrar comentarios más antiguos
Sujata Patil
el 12 de Mayo de 2018
Respondida: Timon Viola
el 12 de Mayo de 2018
Svn classifier
0 comentarios
Respuesta aceptada
Timon Viola
el 12 de Mayo de 2018
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 comentarios
Más respuestas (0)
Ver también
Categorías
Más información sobre Get Started with Statistics and Machine Learning Toolbox en Help Center y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!