Lines Matching refs:var_idx
49 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
63 var_idx = var_type = cat_count = cat_ofs = cat_map = in CvDTreeTrainData()
220 CV_CALL( var_idx = cvPreprocessIndexArray( _var_idx, var_all )); in CV_IMPLEMENT_QSORT_EX()
221 vidx = var_idx->data.i; in CV_IMPLEMENT_QSORT_EX()
222 var_count = var_idx->rows + var_idx->cols - 1; in CV_IMPLEMENT_QSORT_EX()
234 CV_CALL( var_type0 = cvPreprocessVarType( _var_type, var_idx, var_all, &r_type )); in CV_IMPLEMENT_QSORT_EX()
848 split->var_idx = vi; in new_split_ord()
864 split->var_idx = vi; in new_split_cat()
918 cvReleaseMat( &var_idx ); in clear()
1043 if( var_idx ) in write_params()
1044 cvWrite( fs, "var_idx", var_idx ); in write_params()
1116 CV_CALL( var_idx = (CvMat*)cvReadByName( fs, node, "var_idx" )); in read_params()
1117 if( var_idx ) in read_params()
1119 if( !CV_IS_MAT(var_idx) || in read_params()
1120 var_idx->cols != 1 && var_idx->rows != 1 || in read_params()
1121 var_idx->cols + var_idx->rows - 1 != var_count || in read_params()
1122 CV_MAT_TYPE(var_idx->type) != CV_32SC1 ) in read_params()
1127 if( (unsigned)var_idx->data.i[vi] >= (unsigned)var_all ) in read_params()
1388 if( vi == best_split->var_idx ) in try_split_node()
1431 int i, n = node->sample_count, vi = node->split->var_idx; in calc_node_dir()
2439 int nz = n - node->get_num_valid(node->split->var_idx); in complete_node_dir()
2449 vi = split->var_idx; in complete_node_dir()
2933 vidx = data->var_idx && !preprocessed_input ? data->var_idx->data.i : 0; in predict()
2943 int vi = split->var_idx; in predict()
3031 importance[split->var_idx] += split->quality; in get_var_importance()
3056 cvWriteInt( fs, "var", split->var_idx ); in write_split()
3059 ci = data->get_var_type(split->var_idx); in write_split()