Lines Matching refs:term_crit
45 term_crit = cvTermCriteria( CV_TERMCRIT_ITER + CV_TERMCRIT_EPS, 1000, 0.01 ); in CvANN_MLP_TrainParams()
57 term_crit = _term_crit; in CvANN_MLP_TrainParams()
846 max_iter = params.term_crit.type & CV_TERMCRIT_ITER ? params.term_crit.max_iter : MAX_ITER; in train()
850 epsilon = params.term_crit.type & CV_TERMCRIT_EPS ? params.term_crit.epsilon : DEFAULT_EPSILON; in train()
853 params.term_crit.type = CV_TERMCRIT_ITER + CV_TERMCRIT_EPS; in train()
854 params.term_crit.max_iter = max_iter; in train()
855 params.term_crit.epsilon = epsilon; in train()
892 max_iter = params.term_crit.max_iter*count; in train_backprop()
893 epsilon = params.term_crit.epsilon*count; in train_backprop()
1069 max_iter = params.term_crit.max_iter; in train_rprop()
1070 epsilon = params.term_crit.epsilon; in train_rprop()
1345 if( params.term_crit.type & CV_TERMCRIT_EPS ) in write_params()
1346 cvWriteReal( fs, "epsilon", params.term_crit.epsilon ); in write_params()
1347 if( params.term_crit.type & CV_TERMCRIT_ITER ) in write_params()
1348 cvWriteInt( fs, "iterations", params.term_crit.max_iter ); in write_params()
1453 params.term_crit.epsilon = cvReadRealByName( fs, tcrit_node, "epsilon", -1 ); in read_params()
1454 params.term_crit.max_iter = cvReadIntByName( fs, tcrit_node, "iterations", -1 ); in read_params()
1455 params.term_crit.type = (params.term_crit.epsilon >= 0 ? CV_TERMCRIT_EPS : 0) + in read_params()
1456 (params.term_crit.max_iter >= 0 ? CV_TERMCRIT_ITER : 0); in read_params()