songcser / encog-java

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

Workbench generate code, generates incorrect code. #29

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Use the encog workbench and create a feedforard network.
2. Set input neuron count to 5. 
3. Set output neuron count to 1.
4. Then, add a hiden layer, count 5.
5. Tools -> Generate code. [X] Java

What is the expected output? What do you see instead?
A valid network setup 

Instead, we get:

...other code...
Layer inputLayer = new BasicLayer( new ActivationTANH(),true,5);
inputLayer.addNext(inputLayer);
...other code...

Which will result in a stack overflow upon training.

What version of the product are you using? On what operating system?
Encog 2.1.0. Windows xp

Please provide any additional information below.

Original issue reported on code.google.com by jmspash...@gmail.com on 4 Oct 2009 at 2:53

GoogleCodeExporter commented 9 years ago
Was fixed some time ago.  Just tested and generates different code.

Original comment by heatonre...@gmail.com on 16 Aug 2010 at 7:13