/external/opencv3/modules/ml/src/ |
D | precomp.hpp | 97 static inline void writeTermCrit(FileStorage& fs, const TermCriteria& termCrit) in writeTermCrit() argument 99 if( (termCrit.type & TermCriteria::EPS) != 0 ) in writeTermCrit() 100 fs << "epsilon" << termCrit.epsilon; in writeTermCrit() 101 if( (termCrit.type & TermCriteria::COUNT) != 0 ) in writeTermCrit() 102 fs << "iterations" << termCrit.maxCount; in writeTermCrit() 107 TermCriteria termCrit; in readTermCrit() local 111 termCrit.type |= TermCriteria::EPS; in readTermCrit() 112 termCrit.epsilon = epsilon; in readTermCrit() 117 termCrit.type |= TermCriteria::COUNT; in readTermCrit() 118 termCrit.maxCount = iters; in readTermCrit() [all …]
|
D | svm.cpp | 117 TermCriteria termCrit; member 129 termCrit = TermCriteria( CV_TERMCRIT_ITER+CV_TERMCRIT_EPS, 1000, FLT_EPSILON ); in SvmParams() 146 termCrit = _termCrit; in SvmParams() 1011 vector<double>& _alpha, SolutionInfo& _si, TermCriteria termCrit ) in solve_c_svc() argument 1022 termCrit ); in solve_c_svc() 1037 TermCriteria termCrit ) in solve_nu_svc() argument 1067 termCrit ); in solve_nu_svc() 1088 TermCriteria termCrit ) in solve_one_class() argument 1109 termCrit ); in solve_one_class() 1117 TermCriteria termCrit ) in solve_eps_svr() argument [all …]
|
D | rtrees.cpp | 55 termCrit = TermCriteria(TermCriteria::EPS + TermCriteria::COUNT, 50, 0.1); in RTreeParams() 64 termCrit = _termCrit; in RTreeParams() 129 int treeidx, ntrees = (rparams.termCrit.type & TermCriteria::COUNT) != 0 ? in train() 130 rparams.termCrit.maxCount : 10000; in train() 133 double eps = (rparams.termCrit.type & TermCriteria::EPS) != 0 && in train() 134 rparams.termCrit.epsilon > 0 ? rparams.termCrit.epsilon : 0.; in train() 363 CV_IMPL_PROPERTY_S(TermCriteria, TermCriteria, impl.rparams.termCrit)
|
D | ann_mlp.cpp | 49 termCrit = TermCriteria( TermCriteria::COUNT + TermCriteria::EPS, 1000, 0.01 ); in AnnParams() 56 TermCriteria termCrit; member 88 CV_IMPL_PROPERTY(TermCriteria, TermCriteria, params.termCrit) 706 …termcrit.maxCount = std::max((params.termCrit.type & CV_TERMCRIT_ITER ? params.termCrit.maxCount :… in train() 707 …termcrit.epsilon = std::max((params.termCrit.type & CV_TERMCRIT_EPS ? params.termCrit.epsilon : DE… in train() 717 … int train_backprop( const Mat& inputs, const Mat& outputs, const Mat& _sw, TermCriteria termCrit ) in train_backprop() argument 725 int iter = -1, max_iter = termCrit.maxCount*count; in train_backprop() 726 double epsilon = termCrit.epsilon*count; in train_backprop() 986 int train_rprop( const Mat& inputs, const Mat& outputs, const Mat& _sw, TermCriteria termCrit ) in train_rprop() argument 993 int max_iter = termCrit.maxCount; in train_rprop() [all …]
|
D | em.cpp | 57 TermCriteria termCrit; member in cv::ml::EMImpl 59 CV_IMPL_PROPERTY_S(TermCriteria, TermCriteria, termCrit) in CV_IMPL_PROPERTY_S() argument 89 termCrit = TermCriteria(TermCriteria::COUNT+TermCriteria::EPS, EM::DEFAULT_MAX_ITERS, 1e-6); in EMImpl() 498 int maxIters = (termCrit.type & TermCriteria::MAX_ITER) ? in doTrain() 499 termCrit.maxCount : DEFAULT_MAX_ITERS; in doTrain() 500 double epsilon = (termCrit.type & TermCriteria::EPS) ? termCrit.epsilon : 0.; in doTrain() 767 writeTermCrit(fs, termCrit); in write_params() 794 termCrit = readTermCrit(fn); in read_params()
|
/external/opencv3/modules/ml/ |
D | precomp.hpp | 97 static inline void writeTermCrit(FileStorage& fs, const TermCriteria& termCrit) in writeTermCrit() argument 99 if( (termCrit.type & TermCriteria::EPS) != 0 ) in writeTermCrit() 100 fs << "epsilon" << termCrit.epsilon; in writeTermCrit() 101 if( (termCrit.type & TermCriteria::COUNT) != 0 ) in writeTermCrit() 102 fs << "iterations" << termCrit.maxCount; in writeTermCrit() 107 TermCriteria termCrit; in readTermCrit() local 111 termCrit.type |= TermCriteria::EPS; in readTermCrit() 112 termCrit.epsilon = epsilon; in readTermCrit() 117 termCrit.type |= TermCriteria::COUNT; in readTermCrit() 118 termCrit.maxCount = iters; in readTermCrit() [all …]
|
/external/opencv3/modules/ml/test/ |
D | test_emknearestkmeans.cpp | 359 probs(_probs), weights(_weights), means(_means), covs(_covs), termCrit(_termCrit) in EM_Params() 372 cv::TermCriteria termCrit; member in EM_Params 401 em->setTermCriteria(params.termCrit); in runCase()
|
/external/opencv3/modules/calib3d/src/ |
D | calibration.cpp | 1232 CvMat* rvecs, CvMat* tvecs, int flags, CvTermCriteria termCrit ) in cvCalibrateCamera2() argument 1384 solver.init( nparams, 0, termCrit ); in cvCalibrateCamera2() 1642 CvTermCriteria termCrit ) in cvStereoCalibrate() argument 1748 solver.init( nparams, 0, termCrit ); in cvStereoCalibrate()
|
/external/opencv/cv/src/ |
D | cvcalibration.cpp | 1834 CvTermCriteria termCrit, int flags ) in cvStereoCalibrate() argument 1950 solver.init( nparams, 0, termCrit ); in cvStereoCalibrate()
|