IEConsistency {FSinR} | R Documentation |
Inconsistent Examples consistency measure
Description
Generates an evaluation function that calculates the inconsistent examples consistency value (Dash and Liu 2003-dec), using hash tables (set measure). This function is called internally within the filterEvaluator
function.
Usage
IEConsistency()
Value
Returns a function that is used to generate an evaluation set measure using the inconsistent examples consistency value for the selected features.
Author(s)
Adan M. Rodriguez
References
Dash M, Liu H (2003-dec). “Consistency-based Search in Feature Selection.” Artif. Intell., 151, 155–176. doi: 10.1016/S0004-3702(03)00079-1.
Examples
## Not run:
## The direct application of this function is an advanced use that consists of using this
# function directly to evaluate a set of features
## Classification problem
# A discrete dataset is used (in this case we use only several discrete columns)
adult <- adult[,c(4,9,10,15)]
# Generate the evaluation function with IE Consistency
IEC_evaluator <- IEConsistency()
# Evaluate the features (parameters: dataset, target variable and features)
IEC_evaluator(adult,'income',c('race','sex','education'))
## End(Not run)
[Package FSinR version 2.0.5 Index]