Learn R Programming

FSinR (version 2.0.5)

LCC: Linear Consistency-Constrained algorithm

Description

Generates a hybrid search function based on Linear Consistency-Constrained algorithm described in ShinXu2009FSinR. The algorithm combines two evaluation measures, the first evaluates each feature individually, and the second measure evaluate feature sets.

Usage

LCC(threshold = 0.9)

Arguments

threshold

Threshold

Value

Returns a hybrid search function that is used to guide the feature selection process.

References

Examples

Run this code
# NOT RUN {
## The direct application of this function is an advanced use that consists of using this 
# function directly and performing a hybrid search process in a feature space
## Classification problem

# Generates the first filter evaluation function (individual or set measure)
filter_evaluator_1 <- filterEvaluator('determinationCoefficient')
# Generates the second filter evaluation function (mandatory set measure)
filter_evaluator_2 <- filterEvaluator('ReliefFeatureSetMeasure')

  
# Generates the hybrid search function with LCC
LCC_hybrid_search <- LCC()
# Run the search process directly (params: dataset, target variable, evaluator1 & evaluator2)
LCC_hybrid_search(iris, 'Species', filter_evaluator_1, filter_evaluator_2)
# }

Run the code above in your browser using DataLab