Definition at line 2766 of file svm.cpp. References C_SVC, EPSILON_SVR, NU_SVC, NU_SVR, svm_model::param, svm_model::probA, svm_model::probB, and svm_parameter::svm_type. Referenced by Impala::Core::Trec::TrecSVM::LoadModel(), and Impala::Core::Training::Svm::SetModel(). 02767 { 02768 return ((model->param.svm_type == C_SVC || model->param.svm_type == NU_SVC) && 02769 model->probA!=NULL && model->probB!=NULL) || 02770 ((model->param.svm_type == EPSILON_SVR || model->param.svm_type == NU_SVR) && 02771 model->probA!=NULL); 02772 }
|