MATLAB Answers

How to process extracted SURF features for SVM classifier

18 ビュー (過去 30 日間)
Amit DOegar
Amit DOegar 2019 年 12 月 17 日
回答済み: Amit DOegar 2020 年 2 月 3 日 4:17
How to process stored surf features of multiple files for svm classifier

  0 件のコメント

サインイン to comment.

回答 (4 件)

Divya Gaddipati
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!

  0 件のコメント

サインイン to comment.


Amit DOegar
Amit DOegar 2020 年 1 月 16 日
I mean to ask for classfier needs input as vector of features and label
as input for classifier,
but when we extract surf features it gets into array for example
extracted features of aray size 100*100 then through reshape if we convert into vector
size will be of 100* 100 i.e 10000 for a vector . so how to use any classfier for the features like surf, mser or sift, brisk and give it to classifiier

  0 件のコメント

サインイン to comment.


fadi ssuhimat
fadi ssuhimat 2020 年 2 月 3 日 0:04
Do you find soluation for this case, I have same issue???

  0 件のコメント

サインイン to comment.


Amit DOegar
Amit DOegar 2020 年 2 月 3 日 4:17
Features set is in matrix form
using rehape function we can convert into vector
but dimensions are tool large, still looking for solution

  0 件のコメント

サインイン to comment.

サインイン してこの質問に回答します。


Translated by