Ben Letham 2c8419e673 Fix missing m/d on trend component plot. Previously we used MaxNLocator to limit the number of tick marks on the trend and holiday component plots. This was putting the ticks at various points throughout the year, however the tick label showed only the year, which one would incorrectly assume to be Jan 1. This commit removes MaxNLocator and allows matplotlib to set xticks as it pleases, and updates the effected documentation. 8 年之前
..
fbprophet 2c8419e673 Fix missing m/d on trend component plot. Previously we used MaxNLocator to limit the number of tick marks on the trend and holiday component plots. This was putting the ticks at various points throughout the year, however the tick label showed only the year, which one would incorrectly assume to be Jan 1. This commit removes MaxNLocator and allows matplotlib to set xticks as it pleases, and updates the effected documentation. 8 年之前
stan e33e7c4b37 Make stan code windows-compatible. (#96) 8 年之前
LICENSE 9977a97266 Copy of LICENSE in python repo 8 年之前
MANIFEST.in e33e7c4b37 Make stan code windows-compatible. (#96) 8 年之前
README e51b42b336 Initial commit 8 年之前
setup.py 218455c06b Update pandas requirement for dt.weekday_name 8 年之前

README

Prophet: Automatic Forecasting Procedure
========================================

Prophet is a procedure for forecasting time series data. It is based on an additive model where non-linear trends are fit with yearly and weekly seasonality, plus holidays. It works best with daily periodicity data with at least one year of historical data. Prophet is robust to missing data, shifts in the trend, and large outliers.

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

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

Important links
---------------

- HTML documentation: https://facebookincubator.github.io/prophet/docs/quick_start.html
- Issue tracker: https://github.com/facebookincubator/prophet/issues
- Source code repository: https://github.com/facebookincubator/prophet
- Implementation of Prophet in R: https://cran.r-project.org/package=prophet


Other forecasting packages
--------------------------

- Rob Hyndman's `forecast package `_
- `Statsmodels `_


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)