1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28
|
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/diagnostics.R
\name{single_cutoff_forecast}
\alias{single_cutoff_forecast}
\title{Forecast for a single cutoff.
Used in cross_validation function when evaluating for multiple cutoffs.}
\usage{
single_cutoff_forecast(df, model, cutoff, horizon.dt, predict_columns)
}
\arguments{
\item{df}{Dataframe with history for cutoff.}
\item{model}{Prophet model object.}
\item{cutoff}{Datetime of cutoff.}
\item{horizon.dt}{timediff forecast horizon.}
\item{predict_columns}{Array of names of columns to be returned in output.}
}
\value{
Dataframe with forecast, actual value, and cutoff.
}
\description{
Forecast for a single cutoff.
Used in cross_validation function when evaluating for multiple cutoffs.
}
\keyword{internal}
|