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.
model_eval_fun(model, data = NULL, interval = "none", level = 0.95, ...)
a data frame
A model object of the classes permitted
Usually, a data table specifying the inputs to the model. But if not specified, the training data will be used.
One of "none", "confidence", or "prediction". Not all model types support "prediction" or even "confidence".
(default 0.95) confidence or prediction level. Must be in [0,1]
additional arguments