/external/opencv/ml/src/ |
mlnbayes.cpp | 122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; local 145 nclasses = cls_labels->cols; 146 data_size = nclasses*6*mat_size; 151 sum = count + nclasses; 152 productsum = sum + nclasses; 153 avg = productsum + nclasses; 154 inv_eigen_values= avg + nclasses; 155 cov_rotate_mats = inv_eigen_values + nclasses; 157 CV_CALL( c = cvCreateMat( 1, nclasses, CV_64FC1 )); 159 for( cls = 0; cls < nclasses; cls++ 291 int i, j, k, cls = -1, _var_count, nclasses; local 403 int nclasses, i; local 461 int nclasses, i; local [all...] |
mlrtrees.cpp | 186 nclasses = 0; 320 nclasses = data->get_num_classes(); 327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); 544 if( nclasses > 0 ) //classification 547 int* votes = (int*)alloca( sizeof(int)*nclasses ); 548 memset( votes, 0, sizeof(*votes)*nclasses ); 554 CV_ASSERT( 0 <= class_idx && class_idx < nclasses ); 591 cvWriteInt( fs, "nclasses", nclasses ); 631 nclasses = cvReadIntByName( fs, fnode, "nclasses", -1 ) [all...] |
mlcnn.cpp | 330 int nclasses, i; 338 nclasses = cnn_model->cls_labels->cols; 345 cvPreparePredictData( _image, img_size, 0, nclasses, probs, &img_data ); 364 for( i = 0; i < nclasses; i++, etalon.data.fl += cnn_model->etalons->cols ) [all...] |
/external/opencv/ml/include/ |
ml.h | 1004 int nclasses; member in class:CvRTrees [all...] |