Skip to content

Instantly share code, notes, and snippets.

@amankharwal
Created March 27, 2021 09:08
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 amankharwal/e124d6a9b820536a8692d5f842dbcff3 to your computer and use it in GitHub Desktop.
Save amankharwal/e124d6a9b820536a8692d5f842dbcff3 to your computer and use it in GitHub Desktop.
model = Prophet()
model.fit(data)
predict = model.make_future_dataframe(periods=365)
forcast = model.predict(predict)
forcast[["ds", "yhat", "yhat_lower", "yhat_upper"]].tail()
@navojitbasu
Copy link

NameError Traceback (most recent call last)
in
----> 1 model = Prophet()
2 model.fit(data)
3 predict = model.make_future_dataframe(periods=365)
4 forcast = model.predict(predict)
5 forcast[["ds", "yhat", "yhat_lower", "yhat_upper"]].tail()

NameError: name 'Prophet' is not defined

Please assist me to overcome the same

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment