prophet/R/man/dot-fit.Rd
Cuong Duong a794018d65
Add support for cmdstanr backend (#1806)
* init

* add suggested packages

* use environment variables and align more with Py package

* remove additional testing logic, default to lbfgs

* Remove Newton specifier from test because cmdstanr expects newton

Co-authored-by: Ben Letham <bletham@gmail.com>
2021-05-10 16:09:25 -07:00

24 lines
675 B
R

% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/stan_backends.R
\name{.fit}
\alias{.fit}
\title{Obtain the point estimates of the parameters of the Prophet model using
stan's optimization algorithms.}
\usage{
.fit(args, backend)
}
\arguments{
\item{args}{Named list of arguments suitable for the chosen backend. Must
include arguments required for optimization.}
\item{backend}{"rstan" or "cmdstanr".}
}
\value{
A named list containing "stan_fit" (the fitted stan object),
"params", and "n_iteration"
}
\description{
Obtain the point estimates of the parameters of the Prophet model using
stan's optimization algorithms.
}
\keyword{internal}