/external/opencv/ml/src/ |
mlnbayes.cpp | 122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; local 129 &nsamples, &_var_count, &_var_all, &responses, 196 for( s = 0; s < nsamples; s++ )
|
mlem.cpp | 163 "floating-point matrix (CvMat) of 'nsamples' x 'nclusters' size" ); 175 "floating-point matrix (CvMat) of 'nsamples' x 'dims' size" ); 317 int i, nsamples, nclusters, dims; local 328 nsamples = train_data.count; 333 labels->cols != 1 && labels->rows != 1 || labels->cols + labels->rows - 1 != nsamples )) 337 if( nsamples <= nclusters ) 342 CV_CALL( probs = cvCreateMat( nsamples, nclusters, CV_64FC1 )); 372 for( i = 0; i < nsamples; i++ ) 406 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; local 408 if( params.start_step == START_AUTO_STEP || nclusters == 1 || nclusters == nsamples ) 494 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; local 585 int i, j, k, nsamples, dims; local 789 int nsamples = train_data.count, dims = train_data.dims, nclusters = params.nclusters; local [all...] |
ml_inner_functions.cpp | 1896 int nclusters, nsamples; local [all...] |
/external/openfst/src/include/fst/ |
randgen.h | 144 size_t nsamples; // # of samples to be sampled at this state member in struct:fst::RandState 150 : state_id(s), nsamples(n), length(l), select(k), parent(p) {} 153 : state_id(kNoStateId), nsamples(0), length(0), select(0), parent(0) {} 183 // Samples 'rstate.nsamples' from state 'state_id'. The 'rstate.length' is 198 for (size_t i = 0; i < rstate.nsamples; ++i) 210 // Returns a pair (N, K) where 0 <= N <= NumArcs(s) and 0 < K <= nsamples. 277 for (size_t i = 0; i < rstate.nsamples; ++i) 459 double prob = static_cast<double>(count)/rstate.nsamples;
|
/external/opencv/ml/include/ |
ml.h | 1007 int nsamples; member in class:CvRTrees [all...] |