Lines Matching refs:var_count
107 int var_count; in find_best_split() local
111 var_count = active_var_mask->cols; in find_best_split()
113 CV_ASSERT( var_count == data->var_count ); in find_best_split()
115 for( vi = 0; vi < var_count; vi++ ) in find_best_split()
118 int i1 = cvRandInt(rng) % var_count; in find_best_split()
119 int i2 = cvRandInt(rng) % var_count; in find_best_split()
124 for( vi = 0; vi < data->var_count; vi++ ) in find_best_split()
241 int var_count = 0; in train() local
253 var_count = data->var_count; in train()
254 if( params.nactive_vars > var_count ) in train()
255 params.nactive_vars = var_count; in train()
257 params.nactive_vars = (int)sqrt((double)var_count); in train()
263 CV_CALL(active_var_mask = cvCreateMat( 1, var_count, CV_8UC1 )); in train()
266 CV_CALL(var_importance = cvCreateMat( 1, var_count, CV_32FC1 )); in train()
272 cvGetCols( active_var_mask, &submask2, params.nactive_vars, var_count ); in train()
309 const int dims = data->var_count; in grow_forest()
625 int nactive_vars, var_count, k; in read() local
668 var_count = data->var_count; in read()
669 CV_CALL(active_var_mask = cvCreateMat( 1, var_count, CV_8UC1 )); in read()
674 cvGetCols( active_var_mask, &submask2, nactive_vars, var_count ); in read()