Measures the number of selected features by extracting it from learners with property
normalize is set to
TRUE, the relative number of features instead of the absolute
number of features is returned.
Note that the models must be stored to be able to extract this information.
If the learner does not support the extraction of used features,
NA is returned.
|normalize||logical||TRUE||\((-\infty, \infty)\)||TRUE, FALSE|
Range: \([0, \infty)\)
Required prediction: 'response'
Chapter in the mlr3book: https://mlr3book.mlr-org.com/basics.html#train-predict
Package mlr3measures for the scoring functions.
Dictionary of Measures: mlr_measures
as.data.table(mlr_measures) for a table of available Measures in the running session (depending on the loaded packages).
Extension packages for additional task types:
Creates a new instance of this R6 class.
The objects of this class are cloneable with this method.
MeasureSelectedFeatures$clone(deep = FALSE)
Whether to make a deep clone.