HomeSort by relevance Sort by last modified time
    Searched refs:trainLabels (Results 1 - 2 of 2) sorted by null

  /external/opencv3/modules/ml/test/
test_emknearestkmeans.cpp 303 Mat trainData( pointsCount, 2, CV_32FC1 ), trainLabels;
308 generateData( trainData, trainLabels, sizes, means, covs, CV_32FC1, CV_32FC1 );
318 knearest->train(trainData, ml::ROW_SAMPLE, trainLabels);
335 knearestKdt->train(trainData, ml::ROW_SAMPLE, trainLabels);
383 const cv::Mat& trainData, const cv::Mat& trainLabels,
389 const cv::Mat& trainData, const cv::Mat& trainLabels,
412 if( !calcErr( labels, trainLabels, sizes, err , false, false ) )
456 Mat trainData( pointsCount, 2, CV_64FC1 ), trainLabels;
458 generateData( trainData, trainLabels, sizes, means, covs, CV_64FC1, CV_32SC1 );
478 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes)
    [all...]
  /external/opencv3/modules/ml/src/
em.cpp 99 trainLabels.release();
543 trainLabels.copyTo(labels);
551 trainLabels.release();
631 trainLabels.create(trainSamples.rows, 1, CV_32SC1);
644 trainLabels.at<int>(sampleIndex) = static_cast<int>(res[1]);
829 Mat trainLabels;

Completed in 6365 milliseconds