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...] |