Lines Matching refs:svm
168 // SVM training parameters
188 /////////////////////////////////////// SVM kernel ///////////////////////////////////////
1238 CV_ERROR( CV_StsBadArg, "Unknown/unsupported SVM type" );
1804 // Train SVM on <train_size> samples
1892 CV_ERROR( CV_StsBadArg, "The SVM should be trained first" );
1957 CV_ERROR( CV_StsBadArg, "INTERNAL ERROR: Unknown SVM type, "
1958 "the SVM structure is probably corrupted" );
2142 CV_ERROR( CV_StsParseError, "Missing of invalid SVM type" );
2147 CV_ERROR( CV_StsParseError, "SVM kernel tag is not found" );
2151 CV_ERROR( CV_StsParseError, "SVM kernel type tag is not found" );
2165 CV_ERROR( CV_StsParseError, "Missing of invalid SVM kernel type" );
2215 // read SVM parameters
2225 CV_ERROR( CV_StsParseError, "SVM model data is invalid, check sv_count, var_* and class_count tags" );
2423 static int svm = icvRegisterSVMType();
2425 /* The function trains SVM model with optimal parameters, obtained by using cross-validation.
2442 CvStatModel* svm = 0;
2679 CV_CALL(svm = cvTrainSVM( train_data, tflag, responses, model_params, comp_idx, sample_idx ));
2683 return svm;