Home
last modified time | relevance | path

Searched refs:_sample (Results 1 – 5 of 5) sorted by relevance

/external/opencv/ml/src/
Dmlboost.cpp1057 CvMat _sample, _mask; in update_weights() local
1064 _sample = cvMat( 1, data->var_count, CV_32F ); in update_weights()
1071 _sample.data.fl = values; in update_weights()
1073 values += _sample.cols; in update_weights()
1075 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value; in update_weights()
1262 CvBoost::predict( const CvMat* _sample, const CvMat* _missing, in predict() argument
1287 if( !CV_IS_MAT(_sample) || CV_MAT_TYPE(_sample->type) != CV_32FC1 || in predict()
1288 _sample->cols != 1 && _sample->rows != 1 || in predict()
1289 _sample->cols + _sample->rows - 1 != data->var_all && !raw_mode || in predict()
1290 _sample->cols + _sample->rows - 1 != data->var_count && raw_mode ) in predict()
[all …]
Dmlem.cpp209 CvEM::predict( const CvMat* _sample, CvMat* _probs ) const in predict() argument
229 CV_CALL( cvPreparePredictData( _sample, dims, 0, params.nclusters, _probs, &sample_data )); in predict()
293 if( sample_data != _sample->data.fl ) in predict()
982 CvMat* cov = covs[k], _mean, _sample; in run_em() local
987 cvGetRow( samples, &_sample, k ); in run_em()
1002 _sample.data.db = (double*)(samples->data.ptr + samples->step*i); in run_em()
1006 cvMulTransposed( &_sample, covs_item, 1, &_mean ); in run_em()
1012 double val = _sample.data.db[j] - _mean.data.db[j]; in run_em()
Dmltree.cpp2881 CvDTreeNode* CvDTree::predict( const CvMat* _sample, in predict() argument
2903 if( !CV_IS_MAT(_sample) || CV_MAT_TYPE(_sample->type) != CV_32FC1 || in predict()
2904 _sample->cols != 1 && _sample->rows != 1 || in predict()
2905 _sample->cols + _sample->rows - 1 != data->var_all && !preprocessed_input || in predict()
2906 _sample->cols + _sample->rows - 1 != data->var_count && preprocessed_input ) in predict()
2911 sample = _sample->data.fl; in predict()
2912 step = CV_IS_MAT_CONT(_sample->type) ? 1 : _sample->step/sizeof(sample[0]); in predict()
2925 !CV_ARE_SIZES_EQ(_missing, _sample) ) in predict()
Dml_inner_functions.cpp1148 cvPreparePredictData( const CvArr* _sample, int dims_all, in cvPreparePredictData() argument
1160 const CvMat* sample = (const CvMat*)_sample; in cvPreparePredictData()
/external/opencv/ml/include/
Dml.h514 virtual float predict( const CvMat* _sample ) const;
845 virtual CvDTreeNode* predict( const CvMat* _sample, const CvMat* _missing_data_mask=0,
1101 virtual float predict( const CvMat* _sample, const CvMat* _missing=0,