Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

fit.prophet

Fit the prophet model.


Description

This sets m$params to contain the fitted model parameters. It is a list with the following elements: k (M array): M posterior samples of the initial slope. m (M array): The initial intercept. delta (MxN matrix): The slope change at each of N changepoints. beta (MxK matrix): Coefficients for K seasonality features. sigma_obs (M array): Noise level. Note that M=1 if MAP estimation.

Usage

fit.prophet(m, df, ...)

Arguments

m

Prophet object.

df

Data frame.

...

Additional arguments passed to the optimizing or sampling functions in Stan.


prophet

Automatic Forecasting Procedure

v1.0
MIT + file LICENSE
Authors
Sean Taylor [cre, aut], Ben Letham [aut]
Initial release
2021-03-08

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.