mlr-org / mlr3

mlr3: Machine Learning in R - next generation
https://mlr3.mlr-org.com
GNU Lesser General Public License v3.0
927 stars 86 forks source link

Measure to retrieve the number of selected features #937

Closed sebffischer closed 8 months ago

sebffischer commented 1 year ago

requested by Bernd to support e.g. multicrit optimization of no of features and classification accuracy.

mllg commented 1 year ago

There is already a measure for this ("selected_features").

sebffischer commented 1 year ago

Can we maybe rename the measure, e.g. "n_selected_features" The current name suggests that it returns the selected features (I guess this is why Bernd and Martin were not aware of it).