Lines Matching defs:_sample
1271 CvMat _sample, _mask;
1277 _sample = cvMat( 1, data->var_count, CV_32F );
1284 _sample.data.fl = values;
1286 values += _sample.cols;
1288 weak_eval->data.db[i] = tree->predict( &_sample, &_mask, true )->value;
1603 CvBoost::predict( const CvMat* _sample, const CvMat* _missing,
1617 if( !CV_IS_MAT(_sample) || CV_MAT_TYPE(_sample->type) != CV_32FC1 ||
1618 (_sample->cols != 1 && _sample->rows != 1) ||
1619 (_sample->cols + _sample->rows - 1 != data->var_all && !raw_mode) ||
1620 (active_vars && _sample->cols + _sample->rows - 1 != active_vars->cols && raw_mode) )
1629 !CV_ARE_SIZES_EQ(_missing, _sample) )
1658 cv::Mat sample = cv::cvarrToMat(_sample);
1681 src_sample = _sample->data.fl;
1682 sstep = CV_IS_MAT_CONT(_sample->type) ? 1 : _sample->step/sizeof(src_sample[0]);
1737 if( !CV_IS_MAT_CONT(_sample->type & (_missing ? _missing->type : -1)) )
2138 CvBoost::predict( const Mat& _sample, const Mat& _missing,
2141 CvMat sample = _sample, mmask = _missing;