prophet/python
2019-05-23 10:29:50 -07:00
..
fbprophet Add figsize parameter to plot methods 2019-05-23 10:29:50 -07:00
scripts Change to MIT license 2019-05-21 11:40:04 -07:00
stan Change to MIT license 2019-05-21 11:40:04 -07:00
LICENSE Change to MIT license 2019-05-21 11:40:04 -07:00
MANIFEST.in Post1 release + remove pyproject.toml file 2019-01-08 11:00:54 -08:00
README.md Documentation fixes from PR #777 2019-02-20 17:17:47 -08:00
requirements.txt Allow pystan 2.19 2019-05-13 17:09:41 -07:00
setup.py Change to MIT license 2019-05-21 11:40:04 -07:00

Prophet: Automatic Forecasting Procedure

Prophet is a procedure for forecasting time series data based on an additive model where non-linear trends are fit with yearly, weekly, and daily seasonality, plus holiday effects. It works best with time series that have strong seasonal effects and several seasons of historical data. Prophet is robust to missing data and shifts in the trend, and typically handles outliers well.

Prophet is open source software released by Facebook's Core Data Science team .

Full documentation and examples available at the homepage: https://facebook.github.io/prophet/

Other forecasting packages

Installation

pip install fbprophet

Note: Installation requires PyStan, which has its own installation instructions. On Windows, PyStan requires a compiler so you'll need to follow the instructions. The key step is installing a recent C++ compiler

Example usage

  >>> from fbprophet import Prophet
  >>> m = Prophet()
  >>> m.fit(df)  # df is a pandas.DataFrame with 'y' and 'ds' columns
  >>> future = m.make_future_dataframe(periods=365)
  >>> m.predict(future)