Unlimited learning, half price | 50% off

Last chance! 50% off unlimited learning

Sale ends in


FSinR (version 1.0.8)

roughsetConsistency: Rough Set consistency measure

Description

Calculates the rough sets consistency value Pawlak1982FSinR Pawlak1991FSinR, using hash tables

Usage

roughsetConsistency(data, class, features)

Arguments

data
  • 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.

class
  • The name of the dependent variable

features
  • The names of the selected features

Value

  • The consistency value for the selected features

References

Examples

Run this code
# NOT RUN {
roughsetConsistency(iris,'Species',c('Sepal.Width', 'Sepal.Length'))
# }

Run the code above in your browser using DataLab