Learn R Programming

prophet (version 1.1.7)

.fit: Obtain the point estimates of the parameters of the Prophet model using stan's optimization algorithms.

Description

Obtain the point estimates of the parameters of the Prophet model using stan's optimization algorithms.

Usage

.fit(args, backend)

Value

A named list containing "stan_fit" (the fitted stan object), "params", and "n_iteration"

Arguments

args

Named list of arguments suitable for the chosen backend. Must include arguments required for optimization.

backend

"rstan" or "cmdstanr".