![]() |
#11
|
|||
|
|||
![]()
I verified for 0 versus 7 case and I am getting exactly same number of support vectors. (and also Ein and Eout)
Haven't explored using sv coefficients for calculating the error. I am using this API: double svm_predict(const struct svm_model *model, const struct svm_node *x); from 'svm.h' that returns the predicted class value. I am calling this method in loop for all the test points and comparing against the ground truth (y array from svm_problem) to compute Ein or Eout. |
Thread Tools | |
Display Modes | |
|
|