Home
last modified time | relevance | path

Searched refs:_sample_weights (Results 1 – 2 of 2) sorted by relevance

/external/opencv/ml/src/
Dmlann_mlp.cpp687 const CvMat* _sample_weights, const CvMat* _sample_idx, in prepare_to_train() argument
739 if( _sample_weights ) in prepare_to_train()
741 if( !CV_IS_MAT(_sample_weights) ) in prepare_to_train()
744 sw_type = CV_MAT_TYPE(_sample_weights->type); in prepare_to_train()
745 sw_count = _sample_weights->cols + _sample_weights->rows - 1; in prepare_to_train()
748 _sample_weights->cols != 1 && _sample_weights->rows != 1 || in prepare_to_train()
754 sw_step = CV_IS_MAT_CONT(_sample_weights->type) ? 1 : in prepare_to_train()
755 _sample_weights->step/CV_ELEM_SIZE(sw_type); in prepare_to_train()
776 (double)_sample_weights->data.fl[si*sw_step] : in prepare_to_train()
777 _sample_weights->data.db[si*sw_step]; in prepare_to_train()
[all …]
/external/opencv/ml/include/
Dml.h1182 const CvMat* _sample_weights, const CvMat* _sample_idx=0,
1210 const CvMat* _sample_weights, const CvMat* _sample_idx,