Information gain filter calling FSelectorRcpp::relief() in package FSelectorRcpp.

See also

Super class

mlr3filters::Filter -> FilterRelief

Methods

Public methods

Inherited methods

Method new()

Create a FilterRelief object.

Usage

FilterRelief$new()


Method clone()

The objects of this class are cloneable with this method.

Usage

FilterRelief$clone(deep = FALSE)

Arguments

deep

Whether to make a deep clone.

Examples

## Relief (default) task = mlr3::tsk("pima") filter = flt("relief") filter$calculate(task) head(filter$scores, 3)
#> mass glucose pregnant #> 0.05975460 0.05187097 0.04705882
as.data.table(filter)
#> feature score #> 1: mass 0.059754601 #> 2: glucose 0.051870968 #> 3: pregnant 0.047058824 #> 4: triceps 0.033260870 #> 5: age 0.014000000 #> 6: pressure 0.013061224 #> 7: insulin -0.003389423 #> 8: pedigree -0.010572161