get_residual: Gets data residuals using model and testing data.

Description Usage Arguments Value

View source: R/anomaly_detection.R

Description

get_residual returns the residuals calculated by the models prediction and testing data. Before calling, setup_model, add_data, preprocess_data, and train_model should be called.

Usage

1
get_residual(dt.ad)

Arguments

dt.ad

- An S3 object of MVAD type (partially evaluated)

Value

An S3 object of MVAD type (partially evaluated).


lanl-ansi/MVAD documentation built on July 24, 2020, 3:45 a.m.