osama-raddad/encog-java

Exception when number of hidden nodes is 1

Opened this issue · 0 comments

I get the following exception when doing the following

1. Construct a RBFNetwork() with 1 input and 1 output
2. Set number of hidden nodes to 1
3. Use SVDTraining and interate.

java.lang.ArrayIndexOutOfBoundsException: -1
    at org.encog.neural.rbf.training.SVD.svdcmp(SVD.java:246)
    at org.encog.neural.rbf.training.SVD.svdfit(SVD.java:53)
    at org.encog.neural.rbf.training.SVDTraining.iteration(SVDTraining.java:123)

Original issue reported on code.google.com by hellos...@gmail.com on 14 Jun 2011 at 2:51