Searched refs:nsamples (Results 1 – 8 of 8) sorted by relevance
/external/opencv/ml/src/ |
D | mlrtrees.cpp | 319 nsamples = data->sample_count; in grow_forest() 327 CV_CALL(oob_sample_votes = cvCreateMat( nsamples, nclasses, CV_32SC1 )); in grow_forest() 336 CV_CALL(oob_responses = cvCreateMat( 2, nsamples, CV_32FC1 )); in grow_forest() 341 CV_CALL(sample_idx_mask_for_tree = cvCreateMat( 1, nsamples, CV_8UC1 )); in grow_forest() 342 CV_CALL(sample_idx_for_tree = cvCreateMat( 1, nsamples, CV_32SC1 )); in grow_forest() 343 CV_CALL(oob_samples_perm_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest() 344 CV_CALL(samples_ptr = (float*)cvAlloc( sizeof(float)*nsamples*dims )); in grow_forest() 345 CV_CALL(missing_ptr = (uchar*)cvAlloc( sizeof(uchar)*nsamples*dims )); in grow_forest() 346 CV_CALL(true_resp_ptr = (float*)cvAlloc( sizeof(float)*nsamples )); in grow_forest() 351 CvMat responses = cvMat(1, nsamples, CV_32FC1, true_resp_ptr); in grow_forest() [all …]
|
D | mlem.cpp | 317 int i, nsamples, nclusters, dims; in train() local 328 nsamples = train_data.count; in train() 333 labels->cols != 1 && labels->rows != 1 || labels->cols + labels->rows - 1 != nsamples )) in train() 337 if( nsamples <= nclusters ) in train() 342 CV_CALL( probs = cvCreateMat( nsamples, nclusters, CV_64FC1 )); in train() 372 for( i = 0; i < nsamples; i++ ) in train() 406 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; in init_em() local 408 if( params.start_step == START_AUTO_STEP || nclusters == 1 || nclusters == nsamples ) in init_em() 412 for( i = 0; i < nsamples; i++ ) in init_em() 494 int nclusters = params.nclusters, nsamples = train_data.count, dims = train_data.dims; in init_auto() local [all …]
|
D | _ml.h | 230 int nsamples = (matrice)->rows; \ 239 for( i = 0; i < nsamples; i++, a.data.ptr += offset ) \
|
D | mlnbayes.cpp | 122 int cls, nsamples = 0, _var_count = 0, _var_all = 0, nclasses = 0; in train() local 129 &nsamples, &_var_count, &_var_all, &responses, in train() 196 for( s = 0; s < nsamples; s++ ) in train()
|
D | ml_inner_functions.cpp | 1896 int nclusters, nsamples; in icvFindClusterLabels() local 1904 nsamples = probs->rows; in icvFindClusterLabels() 1905 CV_ASSERT( nsamples == labels->cols ); in icvFindClusterLabels() 1909 for( i = 0; i < nsamples; i++ ) in icvFindClusterLabels() 1915 CV_ASSERT((int)cvSum(counts).val[0] == nsamples); in icvFindClusterLabels() 1927 for( i = 0; i < nsamples; i++, probs_data++ ) in icvFindClusterLabels()
|
/external/openfst/src/include/fst/ |
D | randgen.h | 144 size_t nsamples; // # of samples to be sampled at this state member 150 : state_id(s), nsamples(n), length(l), select(k), parent(p) {} in RandState() 153 : state_id(kNoStateId), nsamples(0), length(0), select(0), parent(0) {} in RandState() 198 for (size_t i = 0; i < rstate.nsamples; ++i) in Sample() 277 for (size_t i = 0; i < rstate.nsamples; ++i) in Sample() 459 double prob = static_cast<double>(count)/rstate.nsamples; in Expand()
|
/external/llvm/test/Transforms/LoopDeletion/ |
D | 2008-05-06-Phi.ll | 106 …r(%struct.lame_global_flags* %gfp, i16* %buffer_l, i16* %buffer_r, i32 %nsamples, i8* %mp3buf, i32…
|
/external/opencv/ml/include/ |
D | ml.h | 1007 int nsamples; variable
|