Searched refs:temp_samples (Results 1 – 2 of 2) sorted by relevance
/external/opencv/ml/src/ |
D | mlsvm.cpp | 1362 const float** temp_samples = 0; in do_train() local 1389 CV_CALL( temp_samples = (const float**)cvMemStorageAlloc( temp_storage, in do_train() 1390 sample_count*sizeof(temp_samples[0]))); in do_train() 1430 temp_samples[k] = samples[si + k]; in do_train() 1436 temp_samples[ci + k] = samples[sj + k]; in do_train() 1446 if( !train1( ci + cj, var_count, temp_samples, temp_y, in do_train()
|
/external/opencv3/modules/ml/src/ |
D | svm.cpp | 1410 Mat temp_samples, class_weights; in do_train() local 1468 temp_samples.create(ci + cj, _samples.cols, _samples.type()); in do_train() 1476 memcpy(temp_samples.ptr(k), _samples.ptr(sidx_all[idx]), samplesize); in do_train() 1489 Solver::solve_c_svc( temp_samples, temp_y, Cp, Cn, in do_train() 1492 Solver::solve_nu_svc( temp_samples, temp_y, params.nu, in do_train()
|