Skip to content
Discussion options

You must be logged in to vote

Hi John,

Regarding your problem at hand, I would advise considering the following options:

  • use "minmax" normalization (to keep zeros zero) NeuralProphet(normalize_y="minmax")
  • consider modelling it as a weekly series (by downsampling your data in preprocessing)
  • if modelling it as a weekly series is not possible, you can set the n_lags and n_forecasts to multiples of 7. Additionally you could add different rolling averages as lagged regressors, e.g.
df['A'] = df['y'].rolling(14, min_periods=1).mean()
df['B'] = df['y'].rolling(56, min_periods=1).mean()
m = m.add_lagged_regressor(name='A', only_last_value=True)
m = m.add_lagged_regressor(name='B', only_last_value=True)

If you still encounte…

Replies: 6 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by ourownstory
Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
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
Labels
None yet
3 participants
Converted from issue

This discussion was converted from issue #151 on December 08, 2020 22:38.