How to process extracted SURF features for SVM classifier
이전 댓글 표시
How to process stored surf features of multiple files for svm classifier
채택된 답변
추가 답변 (4개)
Divya Gaddipati
2020년 1월 14일
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!
fadi ssuhimat
2020년 2월 3일
0 개 추천
Do you find soluation for this case, I have same issue???
카테고리
도움말 센터 및 File Exchange에서 Image Category Classification에 대해 자세히 알아보기
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!