Slackbot
11/27/2023, 10:35 AMCristian (Nixtla)
11/28/2023, 7:51 PMfit
and predict
functions updating the data passed to the fit
method.Steffen
11/29/2023, 3:52 PMnf.predict(futr_df = val_set)
, I am essentially making a one-shot for forecast over the entire val set (say 6-weeks), right? While when I use nf.cross_validation
(say, nf.cross_validation(df = val_set, step_size= 5, n_windows= 3, use_init_models= True
), I essentially use a trained model, split the val_set in n_windows (e.g., 3), and make rolling-forecasts, in the sense that after the first window has been predicted and evaluated, these observations are added as information (input chunks) to the model, thereafter the second window is predicted using all information up to that point, ... until the the last window. Correct? It highly important for me to understand this, because retraining a model and updating a model with new information over time are two different things and I do not want to maintain a possibly wrong understanding here.
Besides, ideally I would run these trials in parallel and use a powerful GPU. Which approach to parallelization would you suggest?
For me, the possibilities are not completely clear in this regard. I thought of trying to use the parallelization capabilities of Optuna
("distributed optimization" using a SQLite or MySQL database to share the results across trials) or using ray tuner
(with which I am less familiar)? Before spending a lot of time on making either of which (eventually) work, I would highly appreciate your expert advice!windwine
11/30/2023, 2:57 PM