A Ranker of variables

VariableRanker(formula, data, based = "gainratio", ...)

Arguments

formula

a formula of the form y ~ x1 + x2 + ...

data

the data frame that contains the variables specified in formula.

based

methodology used to rank variables. The options available are informationgain, gainratio and symmetrical.uncertainty.

...

further arguments passed to or from other methods.

Value

A MLA object of subclass Var-Rank

Examples

## Load a Dataset data(EGATUR) VariableRanker(formula=GastoTotalD~pais+aloja+motivo,EGATUR)
#> attributes importance #> 1 pais 0.049161047 #> 2 aloja 0.008279454 #> 3 motivo 0.004326729