Searched refs:sidx_all (Results 1 – 1 of 1) sorted by relevance
/external/opencv3/modules/ml/src/ |
D | svm.cpp | 344 vector<int>& sidx_all, vector<int>& class_ranges ) in sortSamplesByClasses() argument 349 setRangeVector(sidx_all, nsamples); in sortSamplesByClasses() 352 std::sort(sidx_all.begin(), sidx_all.end(), cmp_lt_idx<int>(rptr)); in sortSamplesByClasses() 358 if( i == nsamples-1 || rptr[sidx_all[i]] != rptr[sidx_all[i+1]] ) in sortSamplesByClasses() 1409 vector<int> svidx, sidx, sidx_all, sv_tab(sample_count, 0); in do_train() local 1434 sortSamplesByClasses( _samples, _responses, sidx_all, class_ranges ); in do_train() 1476 memcpy(temp_samples.ptr(k), _samples.ptr(sidx_all[idx]), samplesize); in do_train() 1477 sidx[k] = sidx_all[idx]; in do_train() 1506 sv_tab[sidx_all[idx]] = 1; in do_train() 1507 df_index.push_back(sidx_all[idx]); in do_train()
|