Effacer les filtres
Effacer les filtres

Training dataset using SVM

6 vues (au cours des 30 derniers jours)
Aya Fathi
Aya Fathi le 30 Nov 2020
Hi everyone,
i have a training set that i want to train it using SVM, i have already extracted the features using HOG, but i don't know how to proceed with the training, what should i do next and what function to use (i found out that there's more than 1 function :fitcecoc / fitcsvm / ... )
Also, i would like to know , if i changed HOG to LBP, can i use the same steps and same function ?
Thank you in advance.

Réponses (1)

Raunak Gupta
Raunak Gupta le 5 Déc 2020
From the dataset, while extracting the features you must be knowing that if this is a binary class problem or a multi-class problem. If it’s a binary class problem, you can use fitcsvm otherwise, you can use fitecoc which fits a multiclass model for SVM classifiers. You can use any features to fit a SVM model whether HOG or LBP but the performance for both the feature sets will be different. You may find this example useful to get started.

Community Treasure Hunt

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

Start Hunting!

Translated by