Closed MislavSag closed 3 years ago
@MislavSag That's a good question - The way I've done forecasting in the past is to rebuild the model when new data is available. So when you run the function you will get the actual forecast along with the winning parameters which are intended to help you set the function arguments going forward. If you go into the file EconometricFunctions.R you can look under the hood. Check out lines 1296 to 1327
@MislavSag I just added this to the help file for the function as well.
BanditProbs_StratifyParsimonousGrid_3
BanditProbs_StratifyParsimonousGrid_4
BanditProbs_StratifyParsimonousGrid_5
BanditProbs_StratifyParsimonousGrid_6
BanditProbs_StratifyParsimonousGrid_7
BanditProbs_StratifyParsimonousGrid_8
BanditProbs_StratifyParsimonousGrid_9
BanditProbs_StratifyParsimonousGrid_10
RunTime - Time taken to build the model using the set of arguments
ModelRankByDataType - There are 4 data types: user-supplied frequency or not (2) and forecast::tsclean() or not (2)
ModelRank - the rank of the model based on the Blended_xxx measure
ModelRunNumber - The order that the model was run
@AdrianAntico ,
sou you fit AutoBanditSarima
whenever new observation comes in? This is a good approach if the frequency is low. But if I have, let's say one-minute data and big table, I don't have time to recalculate it every minute.
It would be great feature if the final (best) model would be part of the output. Or, if you can provide a function that contains parameters from the best model. I looked at the source code. I see auto.arima and Arima functions. But they don't contain all parameters from Performancegrid.
Explanations of PerformanceGrid columns are very helpful.
@MislavSag Thanks for the response. I think this is a solid use case. I'm going to reopen and tag it as a feature enhancement!
@MislavSag You can now save the model and xregs to file by supplying a path to the FilePath args. Sorry for the delay on this one. I had to do quite a bit of work to get these ones to run smoothly.
Hi @AdrianAntico,
I have just tried
AutoBanditSarima
functin on hourly data. Everything works fine. This is my best model:The question is, how can I use this model in the future, for the prediction? I have parameters here, but from which package is the main function?