prophet/python
2018-12-20 15:46:55 -08:00
..
fbprophet Update and rename README to README.md and Unicode strings (#766) 2018-12-20 15:33:23 -08:00
scripts Clean non-ASCII characters out of generated_holidays 2018-12-04 14:49:44 -08:00
stan Stan fix for pystan 2.16 2018-05-30 14:23:37 -07:00
LICENSE Copy of LICENSE in python repo 2017-02-24 14:34:32 -08:00
MANIFEST.in Update manifest and include package data 2018-12-20 15:36:02 -08:00
README.md Update and rename README to README.md and Unicode strings (#766) 2018-12-20 15:33:23 -08:00
requirements.txt Update and rename README to README.md and Unicode strings (#766) 2018-12-20 15:33:23 -08:00
setup.py Build fix 2018-12-20 15:46:55 -08: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)