AutoViML/Auto_TS

Issues with `prophet` cause variables to be left undefined

cgobat opened this issue · 2 comments

cgobat commented

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.

cgobat commented

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