Skip to contents

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

(numeric())

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
)

Arguments

task, learner, measure, resampling, features, param_set, label

Used to set fields


Method print()

Print importance scores

Usage

FeatureImportanceLearner$print(...)

Arguments

...

Passed to print()


Method clone()

The objects of this class are cloneable with this method.

Usage

FeatureImportanceLearner$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.