Home | History | Annotate | Download | only in test

Lines Matching refs:trainLabels

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);
484 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
490 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
496 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
502 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
508 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
514 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
520 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);
526 int currCode = runCase(caseIndex++, params, trainData, trainLabels, testData, testLabels, sizes);