Skip to content

Fill gap time series #284

Answered by JoaquinAmatRodrigo
spetton asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @spetton ,

Currently, skforecast models require the time series to be complete. You could try to train a forecaster with the longest portion of your time series without missing values, and then predict the missing gaps.

In the next release (0.6.0), all forecasters will allow the use of weights in the model fitting. Therefore, you can impute the missing values with a random value and give a weight of 0 to ignore them during the training. You can install the pre-release with pip install git+https://github.com/JoaquinAmatRodrigo/skforecast#master.

Hope this helps!

Replies: 2 comments 1 reply

Comment options

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

Answer selected by spetton
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants