prophet/python
Olof Höjvall 8eea5a1ca3 Feature Proposal with Python Draft: Masked seasonality (#873)
* Added feature to mask seasonality

* Added conditional seasonality tests and fixed plotting it

* Fixed diagnostics for conditional seasonality and cleaned up code
2019-03-18 10:04:35 -07:00
..
fbprophet Feature Proposal with Python Draft: Masked seasonality (#873) 2019-03-18 10:04:35 -07: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 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 Update and rename README to README.md and Unicode strings (#766) 2018-12-20 15:33:23 -08:00
setup.py Bump version number for new release 2019-01-15 17:24:43 -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)