Prophet forecasts seasonal time series using an additive model with trends, holidays, and multiple seasonal patterns. It ships for R and Python via CRAN and PyPI.
Overview
Prophet fits nonlinear trends with yearly, weekly, and daily seasonality plus holiday effects. It targets series with strong seasonal patterns and multiple seasons of history, and tolerates missing points, trend shifts, and outliers.
Installations use CRAN or PyPI packages, with optional conda-forge builds. R users can switch to an experimental cmdstanr backend; Python builds rely on CmdStan through cmdstanpy. Cross-validation, extra regressors, custom seasonalities, and tunable parameters let analysts adjust forecasts without rebuilding the core procedure.
Models compile through Stan, and R and Python share the same underlying fitting code. A separate Spark-oriented reimplementation called Helter Skelter exists for large-scale JVM deployments.
As of maintenance mode, the maintainers accept bug fixes and dependency updates rather than new features. Analysts at Facebook have used Prophet for planning forecasts, and settings remain human-interpretable for tuning.
Key features
- Additive trend and seasonality model
- Holiday and event regressors
- R CRAN and Python PyPI packages
- Stan-backed model fitting
- Cross-validation diagnostics
- Extra regressors and custom seasons
- Automatic changepoint detection
- CmdStan and cmdstanr backends
Use cases
- Seasonal demand forecasting
- Planning metrics with holiday effects
- Messy business time series
- R or Python analytics pipelines
- Analyst-tuned operational forecasts