Skip to main content

Automatic Forecasting Procedure

Project description

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/

Important links

Other forecasting packages

Installation

pip install prophet

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

Installation using Docker and docker-compose (via Makefile)

Simply type make build and if everything is fine you should be able to make shell or alternative jump directly to make py-shell.

To run the tests, inside the container cd python/prophet and then python -m unittest

Example usage

  >>> from prophet 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)

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

prophet-1.0.1.tar.gz (65.8 kB view details)

Uploaded Source

File details

Details for the file prophet-1.0.1.tar.gz.

File metadata

  • Download URL: prophet-1.0.1.tar.gz
  • Upload date:
  • Size: 65.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.5.0.1 requests/2.24.0 setuptools/49.6.0 requests-toolbelt/0.9.1 tqdm/4.48.2 CPython/3.8.8

File hashes

Hashes for prophet-1.0.1.tar.gz
Algorithm Hash digest
SHA256 3e682e8ea6e1ee26a92cf289f207d539f30e44879126c128ff8f4e360eb25a8b
MD5 f278ac31305a219a1f349b87004451c6
BLAKE2b-256 f0fac382f0ac5abe9f0a4df9d874a5e8843db035fe2f071b5c00a545b1e3c10b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page