Home
last modified time | relevance | path

Searched refs:row_sample (Results 1 – 3 of 3) sorted by relevance

/external/opencv/ml/src/
Dml_inner_functions.cpp1153 float* row_sample = 0; in cvPreparePredictData() local
1212 vec_size = !as_sparse ? dims_selected*sizeof(row_sample[0]) : in cvPreparePredictData()
1218 sample_step = sample->step / sizeof(row_sample[0]); in cvPreparePredictData()
1224 CV_CALL( row_sample = (float*)cvAlloc( vec_size )); in cvPreparePredictData()
1228 row_sample[i] = sample_data[sample_step*i]; in cvPreparePredictData()
1234 row_sample[i] = sample_data[comp[i]]; in cvPreparePredictData()
1237 row_sample[i] = sample_data[sample_step*comp[i]]; in cvPreparePredictData()
1240 *_row_sample = row_sample; in cvPreparePredictData()
1245 const float* src = (const float*)row_sample; in cvPreparePredictData()
1246 CvSparseVecElem32f* dst = (CvSparseVecElem32f*)row_sample; in cvPreparePredictData()
[all …]
D_ml.h314 int class_count, const CvMat* prob, float** row_sample,
Dmlsvm.cpp1881 float* row_sample = 0; in predict() local
1898 class_count, 0, &row_sample )); in predict()
1919 kernel->calc( sv_count, var_count, (const float**)sv, row_sample, buffer ); in predict()
1933 kernel->calc( sv_total, var_count, (const float**)sv, row_sample, buffer ); in predict()
1962 if( sample && (!CV_IS_MAT(sample) || sample->data.fl != row_sample) ) in predict()
1963 cvFree( &row_sample ); in predict()