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 softwarereleased by Facebook’s Core Data Science team .
Full documentation and examples available at the homepage: https://facebook.github.io/prophet/
pip install fbprophet
Simply type make buildand if everything is fine you should be able to make shellor alternative jump directly to make py-shell.
To run the tests, inside the container cd python/fbprophetand then python -m unittest
>>> fromfbprophetimportProphet
>>> 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)
Information Source – https://pypi.org/project/fbprophet/
