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
Time Series_Optimize Holt-Winters Model_Wrong Connection
Big_Burger
Member Posts: 3 Learner II
Hi there,
I am a beginner with RapidMiner and have run into the following problem. I am using the Holt-Winters model to make predictions from a time series. I started with applying the model to my data. Then I added a forecast validation by creating this process:
Inside the Forecast Validation it looks like this:
So far so good. The process works, I get results and a validation of the results.
At this point I wanted to add an optimizer, which automatically determines the best parameters for the Holt-Winters model. This is where my struggle starts. I adapted my process by adding the function "Optimize parameters":
Then I inserted the "Forecast Validation" into the "Optimize parameters" function:
Inside the "Forecast Validation" it looks like this:
Now when I run the process, I get the following error message":
I already tried rearranging the functions in various ways but I didn't manage to solve the error. Please find attached the RapidMiner process. I really appreciate any help!
Thanks in advance and best regards,
Simon
I am a beginner with RapidMiner and have run into the following problem. I am using the Holt-Winters model to make predictions from a time series. I started with applying the model to my data. Then I added a forecast validation by creating this process:
Inside the Forecast Validation it looks like this:
So far so good. The process works, I get results and a validation of the results.
At this point I wanted to add an optimizer, which automatically determines the best parameters for the Holt-Winters model. This is where my struggle starts. I adapted my process by adding the function "Optimize parameters":
Then I inserted the "Forecast Validation" into the "Optimize parameters" function:
Inside the "Forecast Validation" it looks like this:
Now when I run the process, I get the following error message":
I already tried rearranging the functions in various ways but I didn't manage to solve the error. Please find attached the RapidMiner process. I really appreciate any help!
Thanks in advance and best regards,
Simon
Tagged:
0
Best Answer
-
David_A Administrator, Moderator, Employee-RapidMiner, RMResearcher, Member Posts: 297 RM ResearchHi @Big_Burger ,please take a look at my attached process. I've adopted your solution with an example data set. The trick is to connect the time series model to the generic "out" port inside the Optimize Grid operator and also get it from the same output port in the main process "outside" the operator (you can see, that this output port then also is green, indicating a model is connected to it).I hope this solves your problem.Best regards,
David5
Answers
David
Thank you for your feedback. I tried your solution, but it did not work (message "no result from optimization"). Nevertheless, my colleague solved the problem. I have to use a workaround (2 processes): the "apply forecast" function and the model connections have to be completely removed. In this way, the process yields the best parameters for my model.
These parameters I can then use in my first process, to get the results.
Maybe there would be a way to integrate both into one process, but I haven't figured it out yet.
Thanks anyway and best regards,
Simon
David
Thank you for your answer. It works with your process! Sometimes the solution could be so easy. Thanks again for your help!
Best regards,
Simon