Home | History | Annotate | Download | only in src

Lines Matching refs:nactive_vars

254     if( params.nactive_vars > var_count )
255 params.nactive_vars = var_count;
256 else if( params.nactive_vars == 0 )
257 params.nactive_vars = (int)sqrt((double)var_count);
258 else if( params.nactive_vars < 0 )
259 CV_ERROR( CV_StsBadArg, "<nactive_vars> must be non-negative" );
271 cvGetCols( active_var_mask, &submask1, 0, params.nactive_vars );
272 cvGetCols( active_var_mask, &submask2, params.nactive_vars, var_count );
593 cvWriteInt( fs, "nactive_vars", (int)cvSum(active_var_mask).val[0] );
625 int nactive_vars, var_count, k;
633 nactive_vars = cvReadIntByName( fs, fnode, "nactive_vars", -1 );
639 if( nclasses < 0 || nsamples <= 0 || nactive_vars < 0 || oob_error < 0 || ntrees <= 0)
641 "<nactive_vars>, <oob_error>, <ntrees> of tags are missing" );
673 cvGetCols( active_var_mask, &submask1, 0, nactive_vars );
674 cvGetCols( active_var_mask, &submask2, nactive_vars, var_count );