projects
/
profile
/
ivi
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
07e2dec
)
removed constraint to max_iter in CvANN_MLP (#1110)
author
Maria Dimashova
<no@email>
Tue, 7 Jun 2011 12:28:18 +0000
(12:28 +0000)
committer
Maria Dimashova
<no@email>
Tue, 7 Jun 2011 12:28:18 +0000
(12:28 +0000)
modules/ml/src/ann_mlp.cpp
patch
|
blob
|
history
diff --git
a/modules/ml/src/ann_mlp.cpp
b/modules/ml/src/ann_mlp.cpp
index
6e412b6
..
0b9db71
100644
(file)
--- a/
modules/ml/src/ann_mlp.cpp
+++ b/
modules/ml/src/ann_mlp.cpp
@@
-821,7
+821,6
@@
int CvANN_MLP::train( const CvMat* _inputs, const CvMat* _outputs,
init_weights();
max_iter = params.term_crit.type & CV_TERMCRIT_ITER ? params.term_crit.max_iter : MAX_ITER;
- max_iter = MIN( max_iter, MAX_ITER );
max_iter = MAX( max_iter, 1 );
epsilon = params.term_crit.type & CV_TERMCRIT_EPS ? params.term_crit.epsilon : DEFAULT_EPSILON;