IEPConsistency {FSinR} | R Documentation |
Inconsistent Examples Pairs consistency measure
Description
Generates an evaluation function that calculates the inconsistent examples pairs consistency value, using hash tables (Arauzo-Azofra et al. 2007-feb) (set measure). This function is called internally within the filterEvaluator
function.
Usage
IEPConsistency()
Value
Returns a function that is used to generate an evaluation set measure using the inconsistent examples pairs consistency value for the selected features.
Author(s)
Adan M. Rodriguez
References
Arauzo-Azofra A, Benitez JM, Castro JL (2007-feb). “Consistency measures for feature selection.” Journal of Intelligent Information Systems, 30, 273–292. doi: 10.1007/s10844-007-0037-0.
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 IEP Consistency
IEPC_evaluator <- IEPConsistency()
# Evaluate the features (parameters: dataset, target variable and features)
IEPC_evaluator(adult,'income',c('race','sex','education'))
## End(Not run)
[Package FSinR version 2.0.5 Index]