How to process extracted SURF features for SVM classifier
Mostrar comentarios más antiguos
How to process stored surf features of multiple files for svm classifier
Respuesta aceptada
Más respuestas (4)
Divya Gaddipati
el 14 de En. de 2020
You can use fitcsvm to train SVM classifier.
You can load the files into the workspace in a loop.
for i = 1 : total_files
x = load(filename(i).name);
XTrain(i,:) = x;
clear x;
end
Assuming your labels are in a variable YTrain, you can use the fitcsvm as follows:
Mdl = fitcsvm(XTrain, YTrain)
For more information on fitcsvm, you can refer to the following link:
Alternatively, you can also use classificationLearner
Hope this helps!
Amit DOegar
el 16 de En. de 2020
0 votos
fadi ssuhimat
el 3 de Feb. de 2020
0 votos
Do you find soluation for this case, I have same issue???
Amit DOegar
el 3 de Feb. de 2020
0 votos
Categorías
Más información sobre Image Category Classification en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!