GainRatioAttributeEval(formula, data, subset, na.action, control = NULL)
InfoGainAttributeEval(formula, data, subset, na.action, control = NULL)
NA
s. See model.frame
for
details.Weka_control
, or a
character vector of control options, or NULL
(default).
Available options can be obtained on-line using the Weka Option
Wizard
formula
.GainRatioAttributeEval
evaluates the worth of an attribute by
measuring the gain ratio with respect to the class. InfoGainAttributeEval
evaluates the worth of an attribute by
measuring the information gain with respect to the class.
InfoGainAttributeEval(Species ~ . , data = iris)
Run the code above in your browser using DataLab