/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/opencv3/modules/ml/src/ |
D | nbayes.cpp | 62 int nclasses = (int)__cls_labels.total(); in train() local 73 count.resize(nclasses); in train() 74 sum.resize(nclasses); in train() 75 productsum.resize(nclasses); in train() 76 avg.resize(nclasses); in train() 77 inv_eigen_values.resize(nclasses); in train() 78 cov_rotate_mats.resize(nclasses); in train() 80 for( cls = 0; cls < nclasses; cls++ ) in train() 93 c.create(1, nclasses, CV_64FC1); in train() 132 for( cls = 0; cls < nclasses; cls++ ) in train() [all …]
|
D | rtrees.cpp | 132 int nclasses = (int)classLabels.size(); in train() local 141 vector<int> oobvotes(n*nclasses, 0); in train() 220 int* votes = &oobvotes[j*nclasses]; in train() 223 for( k = 1; k < nclasses; k++ ) in train()
|
D | tree.cpp | 175 int nclasses = (int)classLabels.size(); in startTraining() local 186 CV_Assert( class_weights.checkVector(1, CV_64F) == nclasses ); in startTraining() 195 CV_Assert( 0 <= ci && ci < nclasses ); in startTraining() 1371 int i, ncats = (int)catOfs.size(), nclasses = (int)classLabels.size(); in predictTrees() local 1373 AutoBuffer<int> buf(nclasses + catbufsize + 1); in predictTrees() 1375 int* catbuf = votes + nclasses; in predictTrees() 1398 for( i = 0; i < nclasses; i++ ) in predictTrees() 1483 for( i = 1; i < nclasses; i++ ) in predictTrees()
|
/external/opencv3/modules/cudaobjdetect/src/cuda/ |
D | lbp.cu | 132 …tes, int4* objects, unsigned int n, int groupThreshold, float grouping_eps, unsigned int* nclasses) in disjoin() argument 162 *nclasses = 0; in disjoin() 181 int aidx = Emulation::smem::atomicInc(nclasses, n); in disjoin() 186 …andidates, PtrStepSz<int4> objects, int groupThreshold, float grouping_eps, unsigned int* nclasses) in connectedConmonents() argument 191 …int><<<1, block, smem>>>(candidates, objects, ncandidates, groupThreshold, grouping_eps, nclasses); in connectedConmonents()
|
/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/c-ares/ |
D | adig.c | 124 static const int nclasses = sizeof(classes) / sizeof(classes[0]); variable 303 for (i = 0; i < nclasses; i++) in main() 308 if (i < nclasses) in main() 804 for (i = 0; i < nclasses; i++) in class_name()
|
/external/opencv3/modules/objdetect/src/ |
D | cascadedetect.cpp | 79 int nclasses = partition(rectList, labels, SimilarRects(eps)); in groupRectangles() local 81 std::vector<Rect> rrects(nclasses); in groupRectangles() 82 std::vector<int> rweights(nclasses, 0); in groupRectangles() 83 std::vector<int> rejectLevels(nclasses, 0); in groupRectangles() 84 std::vector<double> rejectWeights(nclasses, DBL_MIN); in groupRectangles() 115 for( i = 0; i < nclasses; i++ ) in groupRectangles() 131 for( i = 0; i < nclasses; i++ ) in groupRectangles() 142 for( j = 0; j < nclasses; j++ ) in groupRectangles() 162 if( j == nclasses ) in groupRectangles()
|
D | hog.cpp | 3537 int nclasses = partition(rectList, labels, SimilarRects(eps)); in groupRectangles() local 3539 std::vector<cv::Rect_<double> > rrects(nclasses); in groupRectangles() 3540 std::vector<int> numInClass(nclasses, 0); in groupRectangles() 3541 std::vector<double> foundWeights(nclasses, -std::numeric_limits<double>::max()); in groupRectangles() 3555 for( i = 0; i < nclasses; i++ ) in groupRectangles() 3569 for( i = 0; i < nclasses; i++ ) in groupRectangles() 3577 for( j = 0; j < nclasses; j++ ) in groupRectangles() 3597 if( j == nclasses ) in groupRectangles()
|
/external/opencv3/modules/core/include/opencv2/core/ |
D | operations.hpp | 512 int nclasses = 0; in partition() local 521 nodes[root][RANK] = ~nclasses++; in partition() 525 return nclasses; in partition()
|
/external/opencv3/modules/ml/include/opencv2/ |
D | ml.hpp | 1488 CV_EXPORTS void createConcentricSpheresTestSet( int nsamples, int nfeatures, int nclasses,
|
/external/opencv3/modules/cudaobjdetect/src/ |
D | cascadeclassifier.cpp | 401 unsigned int* nclasses);
|
/external/opencv/ml/include/ |
D | ml.h | 1004 int nclasses; variable
|
/external/opencv3/apps/traincascade/ |
D | old_ml.hpp | 972 int nclasses; member in CvRTrees
|