Public methods
Method new()
Create a FilterImportance object.
Usage
FilterImportance$new(
id = "importance",
task_type = learner$task_type,
feature_types = learner$feature_types,
learner = mlr3::lrn("classif.rpart"),
packages = learner$packages,
param_set = learner$param_set
)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".
feature_types(character())
Feature types the filter operates on.
Must be a subset of
mlr_reflections$task_feature_types.
learner(mlr3::Learner)
Learner to extract the importance values from.
packages(character())
Set of required packages.
Note that these packages will be loaded via requireNamespace(), and
are not attached.
param_set(paradox::ParamSet)
Set of hyperparameters.
Method clone()
The objects of this class are cloneable with this method.
Usage
FilterImportance$clone(deep = FALSE)
Arguments
deepWhether to make a deep clone.