/external/opencv3/modules/ml/test/ |
test_mltests2.cpp | 105 int cls_count = 0; local 118 cls_map[r] = cls_count++; 120 Mat new_responses = Mat::zeros( nresponses, cls_count, CV_32F ); 156 int cls_count = (int)cls_map.size(); local 157 Mat output( 1, cls_count, CV_32FC1 );
|
/external/opencv/ml/src/ |
ml_inner_functions.cpp | 724 int cls_count = 1, prev_cls, prev_i; local 796 cls_count += *response_ptr[i] != *response_ptr[i-1]; 798 if( cls_count < 2 ) 801 CV_CALL( *out_response_map = cvCreateMat( 1, cls_count, CV_32SC1 )); 805 CV_CALL( *class_counts = cvCreateMat( 1, cls_count, CV_32SC1 )); 811 cls_count = -1; 819 if( cls_counts && cls_count >= 0 ) 820 cls_counts[cls_count] = i - prev_i; 821 cls_map[++cls_count] = prev_cls = cur_cls; 824 *response_ptr[i] = cls_count; [all...] |
mltree.cpp | 1351 int* cls_count = data->counts->data.i; local 2270 int* cls_count = data->counts->data.i; local [all...] |
/external/opencv3/apps/traincascade/ |
old_ml_inner_functions.cpp | 654 int cls_count = 1, prev_cls, prev_i; local 726 cls_count += *response_ptr[i] != *response_ptr[i-1]; 728 if( cls_count < 2 ) 731 CV_CALL( *out_response_map = cvCreateMat( 1, cls_count, CV_32SC1 )); 735 CV_CALL( *class_counts = cvCreateMat( 1, cls_count, CV_32SC1 )); 741 cls_count = -1; 749 if( cls_counts && cls_count >= 0 ) 750 cls_counts[cls_count] = i - prev_i; 751 cls_map[++cls_count] = prev_cls = cur_cls; 754 *response_ptr[i] = cls_count; [all...] |
old_ml_tree.cpp | 1698 int* cls_count = data->counts->data.i; local 2778 int* cls_count = data->counts->data.i; local [all...] |
old_ml_boost.cpp | 811 int* cls_count = data->counts->data.i; local 813 cls_count[k] = 0; 821 cls_count[r]++; [all...] |
/external/autotest/client/common_lib/test_utils/ |
mock.py | 298 cls_count = 0 variable in class:mock_god.create_mock_class_obj.cls_sub 322 typ.cls_count += 1 323 obj_name = "%s_%s" % (name, typ.cls_count)
|
/external/opencv3/modules/ml/src/ |
tree.cpp | 491 double* cls_count = buf; local 492 double* cv_cls_count = cls_count + m; 498 cls_count[k] = 0; 505 cls_count[w->cat_responses[si]] += w->sample_weights[si]; 523 cls_count[k] += cv_cls_count[j*m + k]; 528 double val = cls_count[k]; 549 double val = cls_count[k] - val_k; [all...] |