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

single_cutoff_forecast

Forecast for a single cutoff. Used in cross_validation function when evaluating for multiple cutoffs.


Description

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

df

Dataframe with history for cutoff.

model

Prophet model object.

cutoff

Datetime of cutoff.

horizon.dt

timediff forecast horizon.

predict_columns

Array of names of columns to be returned in output.

Value

Dataframe with forecast, actual value, and cutoff.


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.