This function complements mlr_filters with a function in the spirit of mlr3::mlr_sugar.

flt(.key, ...)

Arguments

.key

:: character(1)
Key passed to the respective mlr3misc::Dictionary to retrieve the object.

...

:: named list()
Named arguments passed to the constructor, to be set as parameters in the paradox::ParamSet, or to be set as public field. See mlr3misc::dictionary_sugar_get() for more details.

Value

Filter.

Examples

flt("correlation", method = "kendall")
#> <FilterCorrelation:correlation> #> Task Types: regr #> Task Properties: - #> Packages: stats #> Feature types: integer, numeric