Searched refs:sidx_all (Results 1 – 1 of 1) sorted by relevance
/dports/graphics/opencv/opencv-4.5.3/modules/ml/src/ |
H A D | svm.cpp | 346 vector<int>& sidx_all, vector<int>& class_ranges ) in sortSamplesByClasses() argument 351 setRangeVector(sidx_all, nsamples); in sortSamplesByClasses() 354 std::sort(sidx_all.begin(), sidx_all.end(), cmp_lt_idx<int>(rptr)); in sortSamplesByClasses() 360 if( i == nsamples-1 || rptr[sidx_all[i]] != rptr[sidx_all[i+1]] ) in sortSamplesByClasses() 1426 vector<int> svidx, sidx, sidx_all, sv_tab(sample_count, 0); in do_train() local 1451 sortSamplesByClasses( _samples, _responses, sidx_all, class_ranges ); in do_train() 1493 memcpy(temp_samples.ptr(k), _samples.ptr(sidx_all[idx]), samplesize); in do_train() 1494 sidx[k] = sidx_all[idx]; in do_train() 1523 sv_tab[sidx_all[idx]] = 1; in do_train() 1524 df_index.push_back(sidx_all[idx]); in do_train()
|