Description Usage Arguments Value References Examples
Dependent Variable Regression Ensemble
1 2 3 |
formula |
a formula interface specifying the model (see help("lm") for more detail) |
data |
a matrix or data.frame containing variables in model |
method |
a model function (e.g. "lm", "randomForest") |
n_predictions |
an integer specifying the number of components in the ensemble. If score_set = "test", set this high enough to ensure all points are predicted a sufficient number of times |
n_train_points |
an integer or numeric value specifying the number of rows used in the training phase of each ensemble |
score_set |
one of "all" or "test". If "all", scores all N points in each training iteration. If "test", score out of sample points in each iteration. |
error_agg_fun |
a function for combining the squared prediction errors. Defaults to mean. |
scores_only |
logical, if TRUE return a vector of outlier scores. If FALSE, return the error matrix and outlier scores |
if scores_only = TRUE, a vector of outlier scores. If FALSE, a list with outlier scores and the ensemble error matrix
section 3.2.1 of "Outlier Analysis" (C. C. Aggarwal. Outlier Analyis. Springer, 2017.)
1 2 3 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.