Home | History | Annotate | Download | only in src

Lines Matching full:sample_count

173         sample_count = data->sample_count;
180 data_root = new_node( 0, sample_count, 0, 0 );
208 sample_count = sample_all;
215 sample_count = sample_idx->rows + sample_idx->cols - 1;
261 buf_size = (ord_var_count + get_work_var_count())*sample_count + 2;
273 (MAX(0,sample_count - 33)/32)*sizeof(int),sizeof(void*));
286 if( sample_count < cv_n*MAX(params.min_sample_count,10) )
300 CV_CALL( data_root = new_node( 0, sample_count, 0, 0 ));
301 CV_CALL( int_ptr = (int**)cvAlloc( sample_count*sizeof(int_ptr[0]) ));
345 for( i = 0; i < sample_count; i++ )
378 icvSortIntPtr( int_ptr, sample_count, 0 );
379 //qsort( int_ptr, sample_count, sizeof(int_ptr[0]), icvCmpIntPtr );
419 for( ; i < sample_count; i++ )
426 for( i = 0; i < sample_count; i++ )
449 icvSortPairs( dst, sample_count, 0 );
456 for( i = 0; i < sample_count; i++ )
476 num_valid = sample_count;
488 for( i = vi = 0; i < sample_count; i++ )
494 for( i = 0; i < sample_count; i++ )
496 int a = cvRandInt(r) % sample_count;
497 int b = cvRandInt(r) % sample_count;
531 CV_CALL( direction = cvCreateMat( 1, sample_count, CV_8UC1 ));
532 CV_CALL( split_buf = cvCreateMat( 1, sample_count, CV_32SC1 ));
560 CV_CALL( isubsample_idx = cvPreprocessIndexArray( _subsample_idx, sample_count ));
585 int vi, i, total = data_root->sample_count;
688 int i, vi, total = sample_count, count = total, cur_ofs = 0;
694 CV_CALL( subsample_idx = cvPreprocessIndexArray( _subsample_idx, sample_count ));
696 CV_CALL( subsample_co = cvCreateMat( 1, sample_count*2, CV_32SC1 ));
806 node->sample_count = count;
928 sample_count = var_all = var_count = max_c_count = ord_var_count = cat_var_count = 0;
962 n->offset + oi*n->sample_count*2);
989 (ord_var_count*2 + ci)*n->sample_count;
1337 int i, n = node->sample_count, vi;
1343 if( node->sample_count <= data->params.min_sample_count ||
1431 int i, n = node->sample_count, vi = node->split->var_idx;
1571 int n = node->sample_count;
1762 int n = node->sample_count;
1932 int n = node->sample_count;
1973 int n = node->sample_count;
2166 int n = node->sample_count;
2256 int i, j, k, n = node->sample_count, cv_n = data->params.cv_folds;
2438 int vi, i, n = node->sample_count, nl, nr, d0 = 0, d1 = -1;
2518 int vi, i, n = node->sample_count, nl, nr;
2547 (node->left->sample_count > data->params.min_sample_count ||
2548 node->right->sample_count > data->params.min_sample_count);
2651 int ti, j, tree_count = 0, cv_n = data->params.cv_folds, n = root->sample_count;
2994 double diff = node->right->sample_count - node->left->sample_count;
3095 cvWriteInt( fs, "sample_count", node->sample_count );
3299 node->sample_count = cvReadIntByName( fs, fnode, "sample_count" );