Home
last modified time | relevance | path

Searched refs:TrainData (Results 1 – 25 of 27) sorted by relevance

12

/external/opencv3/modules/java/src/
Dml.cpp1170 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getLayout_10()
1195 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getNTestSamples_10()
1220 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getNTrainSamples_10()
1245 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getNSamples_10()
1270 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getNVars_10()
1295 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getSample_10()
1321 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getNAllVars_10()
1346 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getMissing_10()
1371 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getTrainSamples_10()
1392 cv::ml::TrainData* me = (cv::ml::TrainData*) self; //TODO: check for NULL in Java_org_opencv_ml_TrainData_getTrainSamples_11()
[all …]
Dml+TrainData.java11 public class TrainData { class
14 protected TrainData(long addr) { nativeObj = addr; } in TrainData() method in TrainData
/external/opencv3/samples/cpp/
Dletter_recog.cpp97 static Ptr<TrainData>
109 return TrainData::create(data, ROW_SAMPLE, responses, in prepare_train_data()
186 Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples); in build_rtrees_classifier()
280 Ptr<TrainData> tdata = TrainData::create(new_data, ROW_SAMPLE, new_responses, in build_boost_classifier()
408 Ptr<TrainData> tdata = TrainData::create(train_data, ROW_SAMPLE, train_responses); in build_mlp_classifier()
439 Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples); in build_knearest_classifier()
466 Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples); in build_nbayes_classifier()
503 Ptr<TrainData> tdata = prepare_train_data(data, responses, ntrain_samples); in build_svm_classifier()
Dtree_engine.cpp21 static void train_and_print_errs(Ptr<StatModel> model, const Ptr<TrainData>& data) in train_and_print_errs()
65 … Ptr<TrainData> data = TrainData::loadFromCSV(filename, 0, response_idx, response_idx+1, typespec); in main()
Dpoints_classifier.cpp79 static Ptr<TrainData> prepare_train_data() in prepare_train_data()
82 return TrainData::create(samples, ROW_SAMPLE, Mat(trainedPointsMarkers)); in prepare_train_data()
225 Ptr<TrainData> tdata = TrainData::create(samples, ROW_SAMPLE, trainClasses); in find_decision_boundary_ANN()
/external/opencv3/modules/ml/test/
Dtest_svmtrainauto.cpp47 using cv::ml::TrainData;
72 cv::Ptr<TrainData> data = TrainData::create( samples, cv::ml::ROW_SAMPLE, responses ); in run()
Dtest_lr.cpp96 Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0); in run()
152 Ptr<TrainData> tdata = TrainData::loadFromCSV(dataFileName, 0); in run()
Dtest_precomp.hpp32 using cv::ml::TrainData;
60 Ptr<TrainData> data;
Dtest_mltests2.cpp88 void ann_check_data( Ptr<TrainData> _data ) in ann_check_data()
100 Mat ann_get_new_responses( Ptr<TrainData> _data, map<int, int>& cls_map ) in ann_get_new_responses()
131 float ann_calc_error( Ptr<StatModel> ann, Ptr<TrainData> _data, map<int, int>& cls_map, int type, v… in ann_calc_error()
297 data = TrainData::loadFromCSV(filename, 0, respIdx, respIdx+1, varTypes); in prepare_test_case()
354 data = TrainData::create(data->getSamples(), data->getLayout(), new_responses, in train()
Dtest_emknearestkmeans.cpp46 using cv::ml::TrainData;
615 Ptr<TrainData> data = TrainData::loadFromCSV(dataFilename, 0); in run()
/external/opencv3/modules/ml/include/opencv2/
Dml.hpp137 class CV_EXPORTS_W TrainData class
141 virtual ~TrainData();
256 static Ptr<TrainData> loadFromCSV(const String& filename,
283 CV_WRAP static Ptr<TrainData> create(InputArray samples, int layout, InputArray responses,
318 CV_WRAP virtual bool train( const Ptr<TrainData>& trainData, int flags=0 );
341 … CV_WRAP virtual float calcError( const Ptr<TrainData>& data, bool test, OutputArray resp ) const;
355 template<typename _Tp> static Ptr<_Tp> train(const Ptr<TrainData>& data, int flags=0) in train()
665 virtual bool trainAuto( const Ptr<TrainData>& data, int kFold = 10,
/external/opencv3/modules/ml/src/
Dinner_functions.cpp57 bool StatModel::train( const Ptr<TrainData>&, int ) in train() argument
65 return train(TrainData::create(samples, layout, responses)); in train()
68 float StatModel::calcError( const Ptr<TrainData>& data, bool testerr, OutputArray _resp ) const in calcError()
Dprecomp.hpp262 WorkData(const Ptr<TrainData>& _data);
264 Ptr<TrainData> data;
301 virtual void startTraining( const Ptr<TrainData>& trainData, int flags );
304 virtual bool train( const Ptr<TrainData>& trainData, int flags );
Ddata.cpp48 static const float MISSED_VAL = TrainData::missingValue();
51 TrainData::~TrainData() {} in ~TrainData()
53 Mat TrainData::getSubVector(const Mat& vec, const Mat& idx) in getSubVector()
115 class TrainDataImpl : public TrainData
973 Ptr<TrainData> TrainData::loadFromCSV(const String& filename, in loadFromCSV()
986 Ptr<TrainData> TrainData::create(InputArray samples, int layout, InputArray responses, in create()
Drtrees.cpp106 void startTraining( const Ptr<TrainData>& trainData, int flags ) in startTraining()
126 bool train( const Ptr<TrainData>& trainData, int flags ) in train()
380 bool train( const Ptr<TrainData>& trainData, int flags ) in train()
Dboost.cpp89 void startTraining( const Ptr<TrainData>& trainData, int flags ) in startTraining()
185 bool train( const Ptr<TrainData>& trainData, int flags ) in train()
470 bool train( const Ptr<TrainData>& trainData, int flags ) in train()
Dknearest.cpp74 bool train( const Ptr<TrainData>& data, int flags ) in train()
494 bool train( const Ptr<TrainData>& data, int flags ) in train()
Dlr.cpp98 virtual bool train( const Ptr<TrainData>& trainData, int=0 );
129 bool LogisticRegressionImpl::train(const Ptr<TrainData>& trainData, int) in train()
Dtree.cpp99 DTreesImpl::WorkData::WorkData(const Ptr<TrainData>& _data) in WorkData()
137 void DTreesImpl::startTraining( const Ptr<TrainData>& data, int ) in startTraining()
224 bool DTreesImpl::train( const Ptr<TrainData>& trainData, int flags ) in train()
1385 const float MISSED_VAL = TrainData::missingValue(); in predictTrees()
Dnbayes.cpp55 bool train( const Ptr<TrainData>& trainData, int flags ) in train()
Dem.cpp112 bool train(const Ptr<TrainData>& data, int) in train()
Dsvm.cpp1595 bool train( const Ptr<TrainData>& data, int ) in train()
1625 bool trainAuto( const Ptr<TrainData>& data, int k_fold, in trainAuto()
/external/opencv3/modules/ml/
Dprecomp.hpp262 WorkData(const Ptr<TrainData>& _data);
264 Ptr<TrainData> data;
301 virtual void startTraining( const Ptr<TrainData>& trainData, int flags );
304 virtual bool train( const Ptr<TrainData>& trainData, int flags );
/external/opencv3/doc/tutorials/introduction/transition_guide/
Dtransition_guide.markdown118 | CvMLData | cv::ml::TrainData |
148 boost->train(prepare_train_data()); // 'prepare_train_data' returns an instance of ml::TrainData cl…
/external/opencv3/modules/ml/doc/
Dml_intro.markdown41 cv::ml::TrainData class for that.
43 @sa cv::ml::TrainData

12