Many CvSVM vectors into one... how? [closed]
Hi
How can I combine n vectors that i got from training my svm into only one that I can use in detecting objects by HOGDescriptor?
Hi
How can I combine n vectors that i got from training my svm into only one that I can use in detecting objects by HOGDescriptor?
Asked: 2012-09-12 07:58:11 -0600
Seen: 329 times
Last updated: Sep 12 '12
there are many question on how to use hoddescriptor with SVM, none has a reasonable answer tho
What do you mean by "n vectors from the SVM"? Training an SVM should give you a single model.
I am trying to do this myself. I am not able to get it working though. I calculated the Primal Form of the support vectors from the trained model generated from CvSVM. http://en.wikipedia.org/wiki/Support_vector_machine#Primal_form
First I multiplied all coeffesients in each support vector with the alpha belonging to the support vector. Then I summarized each coeffesient of each vector together so that I got one long vector instead of many long vectors.