prophet · PyPI 您所在的位置:网站首页 prophet安装mac prophet · PyPI

prophet · PyPI

2023-07-21 07:44| 来源: 网络整理| 查看: 265

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 HTML documentation: https://facebook.github.io/prophet/docs/quick_start.html Issue tracker: https://github.com/facebook/prophet/issues Source code repository: https://github.com/facebook/prophet Implementation of Prophet in R: https://cran.r-project.org/package=prophet Other forecasting packages Rob Hyndman's forecast package Statsmodels Installation - PyPI release

See Installation in Python - PyPI release

Installation - Development version

See Installation in Python - Development version

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 pytest prophet/tests/

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)


【本文地址】

公司简介

联系我们

今日新闻

    推荐新闻

    专题文章
      CopyRight 2018-2019 实验室设备网 版权所有