Public methods
Method new()
Create a FilterCorrelation object.
Usage
FilterCorrelation$new(
id = "correlation",
task_type = "regr",
param_set = ParamSet$new(list(ParamFct$new("use", default = "everything", levels =
c("everything", "all.obs", "complete.obs", "na.or.complete",
"pairwise.complete.obs")), ParamFct$new("method", default = "pearson", levels =
c("pearson", "kendall", "spearman")))),
packages = "stats",
feature_types = c("integer", "numeric")
)Arguments
id(character(1))
Identifier for the filter.
task_type(character())
Types of the task the filter can operator on. E.g., "classif" or
"regr".
param_set(paradox::ParamSet)
Set of hyperparameters.
packages(character())
Set of required packages.
Note that these packages will be loaded via requireNamespace(), and
are not attached.
feature_types(character())
Feature types the filter operates on.
Must be a subset of
mlr_reflections$task_feature_types.
Method clone()
The objects of this class are cloneable with this method.
Usage
FilterCorrelation$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.