Slackbot
03/09/2024, 6:56 PMjan rathfelder
03/11/2024, 8:38 AMKrystian W.
03/11/2024, 8:45 AMdef tune(trial):
mlf = Mlforecast(models=[model])
mlf.fit(df, max_horizon=horizon)
I'll get a hyperparameters based on the output of the whole horizon. What I'd like to do is somehow pass that tune function to each horizon (so to run tune 30 times in that example)jan rathfelder
03/11/2024, 9:14 AMKrystian W.
03/11/2024, 12:30 PMJosé Morales
03/11/2024, 12:59 PMmlf.models_[model_name] = [model_h1, model_h2,...]
jan rathfelder
03/11/2024, 1:48 PMKrystian W.
03/11/2024, 1:53 PMyou want to tune each model for each step (from horizon 1 to horizon n)?Precisely. Jose answer is correct for my case