Feature Importance Learner Class
Feature Importance Learner Class
Public fields
label
(character(1)) Method label
task
(mlr3::Task)
learner
(mlr3::Learner)
measure
(mlr3::Measure)
resampling
(mlr3::Resampling)
resample_result
(mlr3::ResampleResult)
features
(list())
param_set
(paradox::ps())
importance
(data.table::data.table()) Aggregated importance scores
scores
(data.table::data.table()) Individual performance scores used to compute
$importance
Methods
Method new()
Creates a new instance of this R6 class. This is typically intended for use by derived classes.
Usage
FeatureImportanceLearner$new(
task,
learner,
measure,
resampling = NULL,
features = NULL,
param_set = paradox::ps(),
label
)
Method combine()
Combine two FeatureImportanceLearner
objects with computed scores.
Arguments
y
(FeatureImportanceLearner) Object to combine. Must have computed scores.
...
(any) Unused.
Returns
A new FeatureImportanceLearner of the same subclass as x
and y
.
Currently this method merges the following:
$scores
is combined, withiter_rsmp
increased fory
.$importance
is re-computed from the combined$scores
.$resample_result
is combined to a mlr3::BenchmarkResult$resampling
is combined into a mlr3::ResamplingCustom, again continuing teiteration
count fromx
with that ofy
.