Lines Matching refs:nclasses
186 nclasses = 0;
320 nclasses = data->get_num_classes();
327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 ));
544 if( nclasses > 0 ) //classification
547 int* votes = (int*)alloca( sizeof(int)*nclasses );
548 memset( votes, 0, sizeof(*votes)*nclasses );
554 CV_ASSERT( 0 <= class_idx && class_idx < nclasses );
591 cvWriteInt( fs, "nclasses", nclasses );
631 nclasses = cvReadIntByName( fs, fnode, "nclasses", -1 );
639 if( nclasses < 0 || nsamples <= 0 || nactive_vars < 0 || oob_error < 0 || ntrees <= 0)
640 CV_ERROR( CV_StsParseError, "Some <nclasses>, <nsamples>, <var_count>, "