Learn R Programming

FSinR (version 1.0.8)

LCC: Linear Consistency-Constrained algorithm

Description

Linear Consistency-Constrained algorithm described in ShinXu2009FSinR.

Usage

LCC(
  data,
  class,
  featureSetEval,
  featureEval = symmetricalUncertain,
  threshold = 0.9
)

Arguments

data
  • A data frame with the features and the class of the examples

class
  • The name of the dependent variable

featureSetEval
  • The measure for evaluate feature sets

featureEval
  • The measure for evaluate individual features

threshold
  • Threshold

Value

A list is returned containing:

bestFeatures

A vector with all features. Selected features are marked with 1, unselected features are marked with 0

bestFitness

Evaluation measure obtained with the feature selection

References

Examples

Run this code
# NOT RUN {
## sfbs method for iris dataset (filter method)
LCC(iris, 'Species', IEConsistency)
# }

Run the code above in your browser using DataLab