Open udishadc opened 1 month ago
Hi @udishadc,
Thanks for using skforecast.
Currently, the training window is tied to the forecast horizon (steps
). Three different configurations are allowed:
refit = False
: only the initial training is applied.refit = True
: the training window moves steps
positions in each foldrefit = <integer>
: the training is repeated each <integer>
folds.The reason for this behavior is that the current skforecast API only allows 1 predicted value per step. What kind of behavior are you looking for? Your feedback may help us include new features in future releases.
Hi @JoaquinAmatRodrigo, Thank you for the clarification. I was looking to evaluate model performance across different forecasting horizons while keeping the training window constant. I understand the current limitations of the steps parameter and the reasons behind it. Thank you.
I'm using the backtesting_forecaster function in skforecast for time series forecasting.
Currently, the
steps
parameter controls both the forecasting horizon and the number of steps by which training window is moving in each iteration. Is there a way to independently adjust the forecasting horizon without affecting the training window?Code Snippet:
Output: