powered by
This measure calculates the gini index Ceriani2012FSinR of discrete features
giniIndex(data, class, features)
A data frame with the features and the class of the examples
The name of the dependent variable
The names of the selected feature
The Gini index value for the selected features
# NOT RUN { giniIndex(iris,'Species',c('Sepal.Width', 'Sepal.Length')) # }
Run the code above in your browser using DataLab