predict.AdditiveModelForecast {hana.ml.r}R Documentation

Make Predictions from a "AdditiveModelForecast" Object

Description

Similar to other predict methods, this function predicts fitted values from a fitted "AdditiveModelForecast" object.

Usage

## S3 method for class 'AdditiveModelForecast'
predict(model, data,
  logistic.growth.capacity = NULL, interval.width = NULL,
  uncertainty.samples = NULL)

Arguments

model

R6Class object
AdditiveModelForecast object for prediction.

data

DataFrame
Input data. The structure is as follows.

  • The first column: index (ID), timestamp.

  • Other columns:: external data.

logistic.growth.capacity

numeric, optional
Specify the carring capacity for logistic growth.

interval.width

numeric, optional
Width of the uncertainty intervals.

uncertainty.samples

numeric, optional
Number of simulated draws used to estimate uncertainty intervals.

Value

Predicted values are returned as a DataFrame, structured as follows.

See Also

hanaml.AdditiveModelForecast


[Package hana.ml.r version 1.0.8 Index]