facebook / facebook/prophet

forecasting growth example dataset looking very different from documentation

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

Description

in the Prophet documentation there's an example on forecasting growth using a cap value, linking to the `example_wp_log_peyton_manning.csv` dataset:
https://facebook.github.io/prophet/docs/saturating_forecasts.html#forecasting-growth

When I run this example, I get a very different time series..

This is what is in the online documentation:

```
df <- read.csv('https://raw.githubusercontent.com/facebook/prophet/main/examples/example_wp_log_peyton_manning.csv')
df$cap <- 8.5
m <- prophet(df, growth = 'logistic')
future <- make_future_dataframe(m, periods = 1826)
future$cap <- 8.5
fcst <- predict(m, future)
plot(m, fcst)
```
image

and this is what i get when i run that exact same code:

![image](https://github.com/facebook/prophet/assets/24437540/2a5f062e-696c-432f-9be6-4c44b20beaa8)

Has there been a change in the dataset on github since the document was rendered?

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.