SVM Training Data with Bag-of-Word
Hi, I've a question with training an SVM multiclass with bag of word model. I have 50 video of training and each video is represented by a matrix of words.
Now i have a vector<mat> that contains all training data. How can training svm with this data structure?
I think to use pca but i'm not sure if is the exactly way.
Thanks
May be you can try this example
^^ for opencv2.4
for opencv 3.1 it's here
^^ cool :)