hoiyoo / encog-java

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

Yahoo finance example got broken with latest code #40

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Generating the xml marketdata file still works but I get a 
NullPointerException when I try to train the network. This worked fine 
recently, so I assume a recent change broke it.

What is the expected output? What do you see instead?
Exception in thread "main" java.lang.NullPointerException
    at org.encog.engine.network.flat.FlatNetwork.clearContext(FlatNetwork.java:334)
    at org.encog.engine.network.train.TrainFlatNetwork.iteration(TrainFlatNetwork.java:346)
    at org.encog.neural.networks.training.propagation.Propagation.iteration(Propagation.java:234)
    at org.encog.examples.neural.predict.market.MarketTrain.train(MarketTrain.java:82)
    at org.encog.examples.neural.predict.market.MarketPredict.main(MarketPredict.java:47)

What version of the product are you using? On what operating system?
I use the latest code from the reposity on Windows Vista

Please provide any additional information below.

Original issue reported on code.google.com by dmi...@gmail.com on 27 Aug 2010 at 1:24

GoogleCodeExporter commented 9 years ago
this works now

Original comment by dmi...@gmail.com on 13 Sep 2010 at 2:13