prophet
prophet copied to clipboard
prophet model and holiday issue in snowflake python sheet
I am getting below error :
Traceback (most recent call last): Worksheet, line 7, in from holidays.countries import Entity
or from holidays.financial import Entity
.
Note: I have installed prophet 1.01 version and holidays 0.29 packages in snowflake snow park python sheet
Below is the code I am trying to use after importing prophet
`final_model = Prophet(holidays= kholiday,
changepoint_prior_scale= 0.3,
growth = 'linear',
holidays_prior_scale = 0.01,
n_changepoints = 10,
seasonality_mode = 'multiplicative',
seasonality_prior_scale= 90,
weekly_seasonality=True,
daily_seasonality = True,
yearly_seasonality = True,
interval_width=0.80
)
# final_model.add_country_holidays(country_name='US')
final_model.fit(rmr_df_test.reset_index().rename(columns={'MONTH_ID':'ds',
'REV_AMT_USDMTHLY':'y'}))`
I have my own kholiday dataframe , It is working in jupyter notebook at local system
If you try holidays==0.18
that should at least get it working in Snowflake. I'm not sure if there are any breaking changes.