Measures the number of selected features by extracting it from learners with property "selected_features"
.
If the learner does not support this, NA
is returned.
R6::R6Class()
inheriting from Measure.
MeasureSelectedFeatures$new(normalize = FALSE) mlr_measures$get("selected_features") msr("selected_features")
normalize
:: logical(1)
If normalize
is set to TRUE
, divides the number of features by the total number of features.
Type: NA
Range: \([0, \infty)\)
Minimize: TRUE
Required prediction: 'response'
Dictionary of Measures: mlr_measures
as.data.table(mlr_measures)
for a complete table of all (also dynamically created) Measure implementations.