ammarblue / encog-java

Automatically exported from code.google.com/p/encog-java
0 stars 0 forks source link

StopoStrategy endless loop #44

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
The problem appears sometimes, its random, because the training is random, too.

1. Create a complex network with 15 InputNeuron, 15 HiddenNeuron, 1 OutputNeuron
2. set ResilientPropagation with StopoStrategy(0.0000001, 100)
3. let train

What is the expected output? What do you see instead?
I expect, that anytime the training stops.
Sometimes the training never stops. The error changes its value, but 
alternating between two or three values. 
For example:
train.iteration(); // error = 0.4300001234
train.iteration(); // error = 0.4300003333
train.iteration(); // error = 0.4300006789
train.iteration(); // error = 0.4300001234
train.iteration(); // error = 0.4300003333
train.iteration(); // error = 0.4300006789
...

What version of the product are you using? On what operating system?
Encog 2.4, OS X 10.6.1

Please provide any additional information below.

Original issue reported on code.google.com by timasc...@googlemail.com on 21 Sep 2010 at 7:50

GoogleCodeExporter commented 9 years ago
Issue has been corrected, as of Encog 2.5-b2.  This was happening because the 
error would oscillate in a small range.

Original comment by heatonre...@gmail.com on 2 Nov 2010 at 11:51