Walking Forward Testing
Hello,
I built a multivariate regression forecasting using NN. Results seems to be ok so far.
However and since I'm forecasting the next value (+1) using all past values I would like to be able to test the model in a walk forward way, i.e. using past values to predict next in a rolling way till last example. I thought about using sliding window validation.
Each sliding window iteration produces one example only, because it is the prediction of next one. It seems to me that this is the right approach to get this kind of validation.
However I would like to visualize all iterations results appended to have something like this:https://3qeqpr26caki16dnhd19sv6by6v-wpengine.netdna-ssl.com/wp-content/uploads/2016/12/Sunspot-Dataset-Train-Test-Split.png
我虽然对收集和记得/召回开放rators, but with zero success.
Enclosed my mock process and data source.
Thanks for your help
I built a multivariate regression forecasting using NN. Results seems to be ok so far.
However and since I'm forecasting the next value (+1) using all past values I would like to be able to test the model in a walk forward way, i.e. using past values to predict next in a rolling way till last example. I thought about using sliding window validation.
Each sliding window iteration produces one example only, because it is the prediction of next one. It seems to me that this is the right approach to get this kind of validation.
However I would like to visualize all iterations results appended to have something like this:https://3qeqpr26caki16dnhd19sv6by6v-wpengine.netdna-ssl.com/wp-content/uploads/2016/12/Sunspot-Dataset-Train-Test-Split.png
我虽然对收集和记得/召回开放rators, but with zero success.
Enclosed my mock process and data source.
Thanks for your help
Tagged:
0
Best Answer
-
hughesfleming68 MemberPosts:323UnicornHi Oprick, you are correct to use the sliding window operator. Normally you would use the log operator to collect details about what is happening within the window. Looking at the train/test image, it looks like that because it is only showing where the data is split.
你想覆盖一个序列的预测吗s over actual data?2
Answers
<参数键= value =“split_on_batch_attribute false"/>
Kind regards,
Alex
I used log family operators. I was not very familiar with that.
Now I can overlap prediction_label and label.
Enclosed the corrected process. I hope it helps someone else.
Many Thanks
regards,
Alex
Sure I will. Thanks for the tip