Measures the number of selected features.

Format

R6::R6Class() inheriting from Measure.

Construction

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.

See also

Dictionary of Measures: mlr_measures

as.data.table(mlr_measures) for a complete table of all (also dynamically created) Measure implementations.