business-science / free_r_tips

Free R-Tips is a FREE Newsletter provided by Business Science. It comes with bite-sized code tutorials every week.
1.38k stars 699 forks source link

040_modeltime_forecasting model_prophet changed parametrization #6

Open PG-Ayaney opened 2 years ago

PG-Ayaney commented 2 years ago

It seems the parametrization for model_prophet has changed to:

model_prophet <- prophet_reg() %>% set_engine("prophet",yearly.seasonality=TRUE) %>% fit(cnt ~ dteday, training(splits))

FROM:

model_prophet <- prophet_reg( seasonality_yearly = TRUE ) %>% set_engine("prophet") %>% fit(cnt ~ dteday, training(splits))

Mr-Gabut commented 2 years ago

Saya kurang tau