I'm using Encog (Java) for my bachelor thesis (and hopefully, if everything works out as I hope it will, we'll use it in our productive system to improve our predictions).
Even though I bought and read your excellent book, I can't figure out how to construct training data from 2d arrays and feed them to the network. The only information I found here in the forum is that currently there is no example with 2d arrays...
So could someone point me in the right direction with the following setting?!
- I have a daily time series value t, which I want to predict
- but t depends not only on time, but also on 3 other values (x, y, z)
If it wasn't a time series prediction I would simply train the network with any number of [ti, xi, yi, zi] datasets. But since t depends on time, I would want to train the network with something like this:
WINDOW_SIZE = 3 (unrealistic small number, just to make it easy here ;-)
1. training dataset:
[ti, xi, yi, zi]
[ti+1, xi+1, yi+1, zi+1]
[ti+2, xi+2, yi+2, zi+2]
2. training dataset:
[ti+3, xi+3, yi+3, zi+3]
[ti+4, xi+4, yi+4, zi+4]
[ti+5, xi+5, yi+5, zi+5]
Is there a way to do that?
I tried to do it with a TemporalWindowArray, since it has an analyze() method that takes a 2d array, but then I got stuck as I needed to call the process() method, which doesn't handle 2d arrays...
Any help is much appreciated!
Thank you in advance!