Skip to content

Instantly share code, notes, and snippets.

@erykml
Created December 8, 2020 23:11
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save erykml/9f7f8833a87c2fcbbe1b84704b88f55d to your computer and use it in GitHub Desktop.
Save erykml/9f7f8833a87c2fcbbe1b84704b88f55d to your computer and use it in GitHub Desktop.
nprophet_model = NeuralProphet()
metrics = nprophet_model.fit(df_train, freq="D")
future_df = nprophet_model.make_future_dataframe(df_train,
periods = test_length,
n_historic_predictions=len(df_train))
preds_df_2 = nprophet_model.predict(future_df)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment