Home || Architecture || Video Search || Visual Search || Scripts || Applications || Important Messages || OGL || Src

double svm_get_svr_probability ( const svm_model model  ) 

Definition at line 2197 of file svm.cpp.

References EPSILON_SVR, info(), NU_SVR, svm_model::param, svm_model::probA, and svm_parameter::svm_type.

02198 {
02199         if ((model->param.svm_type == EPSILON_SVR || model->param.svm_type == NU_SVR) &&
02200             model->probA!=NULL)
02201                 return model->probA[0];
02202         else
02203         {
02204                 info("Model doesn't contain information for SVR probability inference\n");
02205                 return 0;
02206         }
02207 }

Here is the call graph for this function:


Generated on Fri Mar 19 10:17:13 2010 for ImpalaSrc by  doxygen 1.5.1