prophet/python
andrealouw 0f863bf94b Update requirements.txt (#917)
pandas>=0.23.4 is required to not encounter the following error when passing a holidays argument, since earlier in earlier version pandas the concat does not have a sort argument.

File "/usr/local/lib/python3.6/dist-packages/fbprophet/forecaster.py", line 454, in construct_holiday_dataframe
all_holidays = pd.concat((all_holidays, holidays_to_add), sort=False)
TypeError: concat() got an unexpected keyword argument 'sort'
2019-04-17 17:13:42 -07:00
..
fbprophet Added a interactive Plotly plot of the forecast (#915) 2019-04-17 16:47:16 -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 requirements.txt (#917) 2019-04-17 17:13:42 -07: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)