Skip to contents

Only used internally in {LSTbook}. These were originally arranged as S3 methods, but now the dispatch is done "by hand" in order to eliminate any exported S3 methods.

Usage

model_eval_fun(model, data = NULL, interval = "none", level = 0.95, ...)

Arguments

model

A model object of the classes permitted

data

Usually, a data table specifying the inputs to the model. But if not specified, the training data will be used.

interval

One of "none", "confidence", or "prediction". Not all model types support "prediction" or even "confidence".

level

(default 0.95) confidence or prediction level. Must be in [0,1]

...

additional arguments

Value

a data frame