Lines Matching refs:class_ranges
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()
1465 int sj = class_ranges[j], cj = class_ranges[j+1] - sj; in do_train()