powered by
Calculates the binary consistency, also known as "Sufficiency test" from FOCUS AlmuallimDietterich1991FSinR
binaryConsistency(data, class, features)
A data frame with the features and the class of the examples. Feature columns are expected to be factors, as all features should be discrete.
The name of the dependent variable
The names of the selected features
The consistency value for the selected features
# NOT RUN { binaryConsistency(iris,'Species',c('Sepal.Width', 'Sepal.Length')) # }
Run the code above in your browser using DataLab