AutoViML / Auto_TS

Automatically build ARIMA, SARIMAX, VAR, FB Prophet and XGBoost Models on Time Series data sets with a Single Line of Code. Created by Ram Seshadri. Collaborators welcome.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Issues with `prophet` cause variables to be left undefined

cgobat opened this issue · comments

Issue was originally noted in facebook/prophet#2392.

In this module's __init__.py, there is a try block wherein a BuildProphet instance is created and BuildProphet.fit() is called. If an exception is raised within this block, the except Exception as e statement will catch it and print the error, but variables such as forecast_df_folds will not be defined, which raises an error when forecast_df_folds is referenced a few lines later.

For posterity, it is worth noting that this issue seems to be either related to or the same as #39.