• Home
  • Raw
  • Download

Lines Matching refs:var_count

154         if( !(data->var_count == var_count &&  in CV_IMPLEMENT_QSORT_EX()
209 var_count = var_all; in CV_IMPLEMENT_QSORT_EX()
222 var_count = var_idx->rows + var_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX()
235 CV_CALL( var_type = cvCreateMat( 1, var_count+2, CV_32SC1 )); in CV_IMPLEMENT_QSORT_EX()
243 for( vi = 0; vi < var_count; vi++ ) in CV_IMPLEMENT_QSORT_EX()
254 var_type->data.i[var_count] = cat_var_count; in CV_IMPLEMENT_QSORT_EX()
255 var_type->data.i[var_count+1] = cat_var_count+1; in CV_IMPLEMENT_QSORT_EX()
279 nv_size = var_count*sizeof(int); in CV_IMPLEMENT_QSORT_EX()
306 for( vi = 0; vi <= var_count; vi++ ) in CV_IMPLEMENT_QSORT_EX()
315 if( vi < var_count ) // analyze i-th input variable in CV_IMPLEMENT_QSORT_EX()
338 if( vi < var_count && ci >= 0 || in CV_IMPLEMENT_QSORT_EX()
339 vi == var_count && is_classifier ) // process categorical variable or response in CV_IMPLEMENT_QSORT_EX()
479 if( vi < var_count ) in CV_IMPLEMENT_QSORT_EX()
573 for( i = 0; i < var_count; i++ ) in subsample_data()
610 if( ci >= 0 || vi >= var_count ) in subsample_data()
623 if( vi < var_count ) in subsample_data()
707 co[i*2+1] = cur_ofs*var_count; in get_vectors()
714 memset( missing, 1, count*var_count ); in get_vectors()
716 for( vi = 0; vi < var_count; vi++ ) in get_vectors()
725 for( i = 0; i < count; i++, dst += var_count ) in get_vectors()
733 m += var_count; in get_vectors()
754 cur_ofs = idx*var_count; in get_vectors()
758 for( ; count_i > 0; count_i--, cur_ofs += var_count ) in get_vectors()
928 sample_count = var_all = var_count = max_c_count = ord_var_count = cat_var_count = 0; in clear()
954 return var_count + 1 + (have_labels ? 1 : 0); in get_work_var_count()
968 return get_cat_var_data( n, var_count ); in get_class_labels()
974 return (float*)get_cat_var_data( n, var_count ); in get_ord_responses()
980 return have_labels ? get_cat_var_data( n, var_count + 1 ) : 0; in get_labels()
1008 int vi, vcount = var_count; in write_params()
1012 cvWriteInt( fs, "var_count", var_count ); in write_params()
1076 var_count = cvReadIntByName( fs, node, "var_count", var_all ); in read_params()
1121 var_idx->cols + var_idx->rows - 1 != var_count || in read_params()
1126 for( vi = 0; vi < var_count; vi++ ) in read_params()
1132 CV_CALL( var_type = cvCreateMat( 1, var_count + 2, CV_32SC1 )); in read_params()
1138 if( vartype_node && CV_NODE_TYPE(vartype_node->tag) == CV_NODE_INT && var_count == 1 ) in read_params()
1143 vartype_node->data.seq->total != var_count ) in read_params()
1148 for( vi = 0; vi < var_count; vi++ ) in read_params()
1157 var_type->data.i[var_count] = cat_var_count; in read_params()
1383 for( vi = 0; vi < data->var_count; vi++ ) in try_split_node()
1532 for( vi = 0; vi < data->var_count; vi++ ) in find_best_split()
2551 for( vi = 0; vi < data->var_count; vi++ ) in split_node_data()
2605 if( ci < 0 || (vi < data->var_count && !split_input_data) ) in split_node_data()
2623 if( vi < data->var_count ) in split_node_data()
2906 _sample->cols + _sample->rows - 1 != data->var_count && preprocessed_input ) in predict()
3016 var_importance = cvCreateMat( 1, data->var_count, CV_64F ); in get_var_importance()
3206 if( (unsigned)vi >= (unsigned)data->var_count ) in read_split()