Home
last modified time | relevance | path

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

/external/opencv3/modules/ml/src/
Dnbayes.cpp91 cls_labels = __cls_labels; in train()
101 cls_labels.size() != __cls_labels.size() || in train()
102 norm(cls_labels, __cls_labels, NORM_INF) != 0 ) in train()
202 cls_labels = &_cls_labels; in NBPredictBody()
214 const Mat* cls_labels; member in cv::ml::NormalBayesClassifierImpl::NBPredictBody
226 int nclasses = (int)cls_labels->total(); in operator ()()
288 int ival = rawOutput ? cls : cls_labels->at<int>(cls); in operator ()()
309 int nsamples = samples.rows, nclasses = (int)cls_labels.total(); in predictProb()
336 var_idx, cls_labels, results, resultsProb, rawOutput)); in predictProb()
343 int nclasses = (int)cls_labels.total(), i; in write()
[all …]
/external/opencv/ml/src/
Dmlnbayes.cpp47 cls_labels = 0; in CvNormalBayesClassifier()
61 if( cls_labels ) in clear()
63 for( int cls = 0; cls < cls_labels->cols; cls++ ) in clear()
74 cvReleaseMat( &cls_labels ); in clear()
93 cls_labels = 0; in CvNormalBayesClassifier()
140 cls_labels = __cls_labels; in train()
145 nclasses = cls_labels->cols; in train()
183 if( cls_labels->cols != __cls_labels->cols || in train()
184 cvNorm(cls_labels, __cls_labels, CV_C) > DBL_EPSILON ) in train()
189 nclasses = cls_labels->cols; in train()
[all …]
Dmlcnn.cpp144 if( params->etalons->rows != cnn_model->cls_labels->cols ) \
186 &cnn_model->cls_labels, 0 ));
338 nclasses = cnn_model->cls_labels->cols;
391 return ((float) ((CvCNNStatModel*)model)->cls_labels->data.i[best_etal_idx]);
403 CvMat* cls_labels = 0;
419 &cls_labels, 0, 0 ));
424 if( !CV_ARE_SIZES_EQ(cls_labels, cnn_model->cls_labels) )
426 for( i = 0; i < cls_labels->cols; i++ )
428 if( cls_labels->data.i[i] != cnn_model->cls_labels->data.i[i] )
454 cvReleaseMat( &cnn->cls_labels );
[all …]
/external/opencv/ml/include/
Dml.h259 CvMat* cls_labels; variable
1392 CvMat* cls_labels;
/external/opencv3/apps/traincascade/
Dold_ml.hpp219 CvMat* cls_labels; member in CvNormalBayesClassifier