facebook / facebook/prophet

Unable to predict sudden spike

Open
#2,304 3 comments 0 reactions 0 assignees View on GitHub
question
Dominant language
Python
Stars
20.4k
Forks
4.6k
Avg merge
19h 52m
Merged PRs (30d)
1

Description

Trying with 1600+ data with log based normaliation.

```
m = Prophet(changepoint_range=1, changepoint_prior_scale=0.9, interval_width=0.90, seasonality_mode = 'additive',
daily_seasonality=False)
m.add_seasonality(name='monthly', period=30.5, fourier_order=5)
m.add_country_holidays(country_name='JP')
model = m.fit(df_p_gr_d_log)

future = m.make_future_dataframe(periods=30,freq='D')
forecast = m.predict(future)
forecast.head()
```

But the problem here is its unable to preddict high/sudden spikes. thats why I am getting bad result (MAPE is : 32.594314182549475).
the graph [link ] where (https://ibb.co/19Jv0qq)blue line indicates forecast and orange for prediction.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.