Let's say I have a dataset with 10 data points x0 ... x9, and I wish to predict the value for x11.
Using the windowing operator with window_size 3 and horizon 2 I get the training dataset below.
This dataset is fine, I can use a learner to learn a model, that can forecast the value for x11.
Label x-2 x-1 x-0
-----------------------------
x4 x0 x1 x2
x5 x1 x2 x3
x6 x2 x3 x4
x7 x3 x4 x5
x8 x4 x5 x6
x9 x5 x6 x7
But in order to make a prediction for x11 I not only need a model, I also need the appropriate model input.
This input data point would be:
Label x-2 x-1 x-0
-----------------------------
? x7 x8 x9
| How do I make Rapid Miner generate this input data point? |
Of course it is possible to generate this data point by hand, but in a more realistic scenario my dataset will have many more attributes, and my window_size will be much bigger,
so this means I will have to fill my input data point with many more values.