Searched refs:class_ranges (Results 1 – 7 of 7) sorted by relevance
/external/opencv/ml/src/ |
D | mlem.cpp | 487 CvMat* class_ranges = 0; in init_auto() local 516 CV_CALL( class_ranges = cvCreateMat( 1, nclusters+1, CV_32SC1 )); in init_auto() 523 labels, class_ranges->data.i )); in init_auto() 527 class_ranges->data.i[0] = 0; in init_auto() 528 class_ranges->data.i[1] = nsamples; in init_auto() 533 int left = class_ranges->data.i[i], right = class_ranges->data.i[i+1]; in init_auto() 547 int left = class_ranges->data.i[i], right = class_ranges->data.i[i+1]; in init_auto() 566 cvReleaseMat( &class_ranges ); in init_auto()
|
D | mlsvm.cpp | 1363 int* class_ranges = 0; in do_train() local 1387 CV_CALL( class_ranges = (int*)cvMemStorageAlloc( temp_storage, in do_train() 1388 (class_count + 1)*sizeof(class_ranges[0]))); in do_train() 1393 class_ranges[class_count] = 0; in do_train() 1394 cvSortSamplesByClasses( samples, responses, class_ranges, 0 ); in do_train() 1396 if( class_ranges[class_count] <= 0 ) in do_train() 1405 int ci = class_ranges[i+1] - class_ranges[i]; in do_train() 1408 int cj = class_ranges[j+1] - class_ranges[j]; in do_train() 1423 int si = class_ranges[i], ci = class_ranges[i+1] - si; in do_train() 1424 int sj = class_ranges[j], cj = class_ranges[j+1] - sj; in do_train()
|
D | _ml.h | 304 int* class_ranges, const uchar** mask CV_DEFAULT(0) );
|
D | ml_inner_functions.cpp | 1099 int* class_ranges, const uchar** mask ) in cvSortSamplesByClasses() argument 1108 if( !samples || !classes || !class_ranges ) in cvSortSamplesByClasses() 1128 class_ranges[0] = 0; in cvSortSamplesByClasses() 1138 class_ranges[++k] = i+1; in cvSortSamplesByClasses()
|
/external/opencv3/modules/ml/src/ |
D | svm.cpp | 344 vector<int>& sidx_all, vector<int>& class_ranges ) in sortSamplesByClasses() argument 353 class_ranges.clear(); in sortSamplesByClasses() 354 class_ranges.push_back(0); in sortSamplesByClasses() 359 class_ranges.push_back(i+1); in sortSamplesByClasses() 1411 vector<int> class_ranges; in do_train() local 1434 sortSamplesByClasses( _samples, _responses, sidx_all, class_ranges ); in do_train() 1437 if( class_ranges[class_count] <= 0 ) in do_train() 1446 int ci = class_ranges[i+1] - class_ranges[i]; in do_train() 1449 int cj = class_ranges[j+1] - class_ranges[j]; in do_train() 1464 int si = class_ranges[i], ci = class_ranges[i+1] - si; in do_train() [all …]
|
/external/opencv3/apps/traincascade/ |
D | old_ml_precomp.hpp | 300 int* class_ranges, const uchar** mask CV_DEFAULT(0) );
|
D | old_ml_inner_functions.cpp | 1029 int* class_ranges, const uchar** mask ) in cvSortSamplesByClasses() argument 1038 if( !samples || !classes || !class_ranges ) in cvSortSamplesByClasses() 1058 class_ranges[0] = 0; in cvSortSamplesByClasses() 1068 class_ranges[++k] = i+1; in cvSortSamplesByClasses()
|