Searched refs:nclasses (Results 1 – 5 of 5) sorted by relevance
/external/opencv/ml/src/ |
D | mlnbayes.cpp | 122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; in train() local 145 nclasses = cls_labels->cols; in train() 146 data_size = nclasses*6*mat_size; in train() 151 sum = count + nclasses; in train() 152 productsum = sum + nclasses; in train() 153 avg = productsum + nclasses; in train() 154 inv_eigen_values= avg + nclasses; in train() 155 cov_rotate_mats = inv_eigen_values + nclasses; in train() 157 CV_CALL( c = cvCreateMat( 1, nclasses, CV_64FC1 )); in train() 159 for( cls = 0; cls < nclasses; cls++ ) in train() [all …]
|
D | mlrtrees.cpp | 186 nclasses = 0; in CvRTrees() 320 nclasses = data->get_num_classes(); in grow_forest() 327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); in grow_forest() 544 if( nclasses > 0 ) //classification in predict() 547 int* votes = (int*)alloca( sizeof(int)*nclasses ); in predict() 548 memset( votes, 0, sizeof(*votes)*nclasses ); in predict() 554 CV_ASSERT( 0 <= class_idx && class_idx < nclasses ); in predict() 591 cvWriteInt( fs, "nclasses", nclasses ); in write() 631 nclasses = cvReadIntByName( fs, fnode, "nclasses", -1 ); in read() 639 if( nclasses < 0 || nsamples <= 0 || nactive_vars < 0 || oob_error < 0 || ntrees <= 0) in read()
|
D | 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 )
|
/external/ltrace/sysdeps/linux-gnu/x86/ |
D | fetch.c | 775 ssize_t nclasses = classify_argument(proc, context, info, valuep, in arch_fetch_pool_arg_next() local 777 if (nclasses == -1) in arch_fetch_pool_arg_next() 788 if (nclasses == 1) { in arch_fetch_pool_arg_next() 793 for (i = 0; i < nclasses; ++i) { in arch_fetch_pool_arg_next() 801 if (nclasses > 1 && revert) in arch_fetch_pool_arg_next()
|
/external/opencv/ml/include/ |
D | ml.h | 1004 int nclasses; variable
|