Skip to content

A simple example with exogenous data #6544

Answered by fkiraly
SultanOrazbayev asked this question in Q&A
Discussion options

You must be logged in to vote

However, I don't quite understand the purpose of fh in fit

You need to pass fh only in one of fit or predict, but some forecasters - like direct reduction - need it in fit already. Whether a forecaster requires is in fit is annotated via the requires-fh-in-fit tag.

The direct reduction forecaster requires the fh in fit, because you need to lag the y in the training of the tabular regressors according to the fh, against X.

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
3 replies
@SultanOrazbayev
Comment options

@SultanOrazbayev
Comment options

@fkiraly
Comment options

Comment options

You must be logged in to vote
1 reply
@SultanOrazbayev
Comment options

Answer selected by SultanOrazbayev
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants