The Altair Community is migrating to a new platform to provide a better experience for you. In preparation for the migration, the Altair Community is on read-only mode from October 28 - November 6, 2024. Technical support via cases will continue to work as is. For any urgent requests from Students/Faculty members, please submit the form linked here
LSTM Deep Learning Forecast - Validation
Hello,
Yesterday I posted here a question about a walkforward validation of forecasting model that was solved.
But @SGolbert pointed that LSTMs are becomimg very important in forecasting and because I've already start studying this subject I decided it was time to give it a try. Results are quite fair though tuning is more thorny.
I'm using this extension operators:
https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_deeplearning
My question is basically if it is possible to validate the models built using this extension with, for example, sliding window validation operator.
When I try to connect mod outport with validation operator mod ports I get a error. I understand the reason of the error, but I'm stucked.
How can we backtest models build under this extension.
Enclosed mock example set and process.
Thanks for your help
Yesterday I posted here a question about a walkforward validation of forecasting model that was solved.
But @SGolbert pointed that LSTMs are becomimg very important in forecasting and because I've already start studying this subject I decided it was time to give it a try. Results are quite fair though tuning is more thorny.
I'm using this extension operators:
https://marketplace.rapidminer.com/UpdateServer/faces/product_details.xhtml?productId=rmx_deeplearning
My question is basically if it is possible to validate the models built using this extension with, for example, sliding window validation operator.
When I try to connect mod outport with validation operator mod ports I get a error. I understand the reason of the error, but I'm stucked.
How can we backtest models build under this extension.
Enclosed mock example set and process.
Thanks for your help
Tagged:
0
Best Answer
-
hughesfleming68 Member Posts: 323 UnicornHi Opick. This can work with the sliding window operator. Here is your process with the validation.
In the real world, I have had mixed results with LSTM's. I have had better results using dilated causal convolution networks following the Wavenet model. Unfortunately you would need some experience with Python/Keras/Tensorflow but it can all work inside of Rapidminer with the execute Python operator.
The warning here is the enormous amount of time it takes to get Deep Learning networks tuned. Between the number of layers, neurons and activation functions, it really requires a commitment.
It might also be interesting for you to take a look at the M4 Forecasting competition and see how some of the top solutions worked. Plenty of discussion as well about if these techniques out perform classical methods or not. That answer isn't absolutely clear sometimes.
regards,
Alex
6
Answers
I just imported and executed the process you shared with your data and ..... everything works fine...
Can you tell me more about your error ?
Regards,
Lionel
Thanks @hughesfleming68
I saw the red warning at mod port and didn't try to run the process :S Dumb be.
Thanks a lot also for the tips.
Regards,
Pedro
regards,
Alex
I have no experience with pre-trained networks except from what I have read.
Regards,
Alex
What you can do and what I use is Tensorflow inside Rapidminer with the execute python operator which opens more possibilities. Tensorflow is convenient because you can find lots of code on Github which makes learning by example possible. For an example of dilated cnn for time series forecasting, I would look at seriesnet.py by Krist Papadopoulos which he has kindly made available on Github. https://github.com/kristpapadopoulos/seriesnet. You would however have to install Anaconda, Keras and Tensorflow. That can be quite a big jump for many users unless you already have that working. There are also a few extra things to learn about getting repeatable results in Tensorflow and it is slow. There are also gated convolution NN's and at least five or six variations that I can think of. You might have to explore quite a few different options until you find a technique that works for you.
regards,
Alex