forecast_cross_validation | Rolling-origin backtest: for each of n_windows origins (step_size apart) trains the models on the history before it (all of it, or the last input_size points; retrained every refit windows) and forecasts the next h periods, then scores them against the actuals. | |