Description Usage Arguments Value Examples
View source: R/anomaly_detection.R
add_data
returns the added anomaly detection data structure
with the training and testing data provided as arguments.
1 | add_data(dt.ad, training_data, testing_data)
|
dt.ad |
An S3 data structure used in the package, see |
training_data |
A data.table with |
testing_data |
A data.table with |
An S3 object of mvad type.
1 2 3 | dt.ad <- add_data(setup_model(),
data.table("v" = 1:10,"i" = 11:20, "t" = 21:30, "f" = 31:40),
data.table("v" = 1:5,"i" = 6:10, "t" = 11:15, "f" = 16:20))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.