Searched refs:results_prob (Results 1 – 2 of 2) sorted by relevance
204 results_prob = !_results_prob.empty() ? &_results_prob : 0; in NBPredictBody()216 Mat* results_prob; member in cv::ml::NormalBayesClassifierImpl::NBPredictBody236 if (results_prob) in operator ()()238 rptype = results_prob->type(); in operator ()()239 … rpstep = results_prob->isContinuous() ? 1 : results_prob->step/results_prob->elemSize(); in operator ()()279 if( results_prob ) in operator ()()282 results_prob->ptr<float>()[k*rpstep + i] = (float)probability; in operator ()()284 results_prob->ptr<double>()[k*rpstep + i] = probability; in operator ()()
203 …float predict( const CvMat* samples, CV_OUT CvMat* results=0, CV_OUT CvMat* results_prob=0 ) const;211 …predict( const cv::Mat& samples, CV_OUT cv::Mat* results=0, CV_OUT cv::Mat* results_prob=0 ) const;