Base class generalizazing refit-based variable importance measures.
Default corresponds to leaving out each feature n_repeats times, which
corresponds to LOCO (Leave One Covariate Out).
Public fields
direction(
character(1)) Either "leave-out" or "leave-in".design(
logical()) Feature selection design matrix whereTRUEequals "left in" andFALSE"left out". Columns correspond totask$feature_namesand the number of rows corresponds tolength(features) * n_repeats. The base matrix is created by wvim_design_matrix and then replicatedn_repeatstimes before.instance(
FSelectInstanceBatchSingleCrit) Themlr3fselectfeature selection instance containing also the archive of all evaluations, possible useful for future use. Only stored ifstore_instanceisTRUE.
Methods
Method compute()
Computes leave-out or leave-in feature importance.
wvim_design_matrix(task$feature_names, "leave-out") corresponds to LOCO.
Arguments
store_models, store_backends(
logical(1):TRUE) Whether to store fitted models / data backends, passed to mlr3::resample internally backends in resample result. Required for some measures, but may increase memory footprint.store_instance(
logical(1):FALSE) Whether to store the mlr3fselect::mlr3fselect instance in$instance.