Searched defs:trainData (Results 1 - 6 of 6) sorted by relevance

/external/opencv3/modules/ml/src/
H A Dboost.cpp89 void startTraining( const Ptr<TrainData>& trainData, int flags ) argument
91 DTreesImpl::startTraining(trainData, flags);
185 bool train( const Ptr<TrainData>& trainData, int flags ) argument
187 startTraining(trainData, flags);
470 bool train( const Ptr<TrainData>& trainData, int flags ) argument
472 return impl.train(trainData, flags);
H A Dlr.cpp98 virtual bool train( const Ptr<TrainData>& trainData, int=0 );
129 bool LogisticRegressionImpl::train(const Ptr<TrainData>& trainData, int) argument
132 Mat _data_i = trainData->getSamples();
133 Mat _labels_i = trainData->getResponses();
H A Dnbayes.cpp55 bool train( const Ptr<TrainData>& trainData, int flags ) argument
58 Mat responses = trainData->getNormCatResponses();
59 Mat __cls_labels = trainData->getClassLabels();
60 Mat __var_idx = trainData->getVarIdx();
61 Mat samples = trainData->getTrainSamples();
64 int nvars = trainData->getNVars();
67 int __nallvars = trainData->getNAllVars();
H A Drtrees.cpp106 void startTraining( const Ptr<TrainData>& trainData, int flags ) argument
108 DTreesImpl::startTraining(trainData, flags);
126 bool train( const Ptr<TrainData>& trainData, int flags ) argument
128 startTraining(trainData, flags);
380 bool train( const Ptr<TrainData>& trainData, int flags ) argument
382 return impl.train(trainData, flags);
H A Dtree.cpp224 bool DTreesImpl::train( const Ptr<TrainData>& trainData, int flags ) argument
226 startTraining(trainData, flags);
/external/opencv3/modules/ml/test/
H A Dtest_emknearestkmeans.cpp303 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,
403 em->trainEM( trainData, noArray(), labels, noArray() );
405 em->trainE( trainData, *params.means, *params.covs,
408 em->trainM( trainData, *params.probs,
456 Mat trainData( pointsCoun
388 runCase( int caseIndex, const EM_Params& params, const cv::Mat& trainData, const cv::Mat& trainLabels, const cv::Mat& testData, const cv::Mat& testLabels, const vector<int>& sizes ) argument
[all...]

Completed in 86 milliseconds