ReliefFeatureSetMeasure {FSinR} | R Documentation |
Relief Feature Set Measure evaluation measure
Description
Generates an evaluation function that applies Feature set measure based on Relief (set measure). Described in (Arauzo-Azofra et al. 2004-1). This function is called internally within the filterEvaluator
function.
Usage
ReliefFeatureSetMeasure(iterations = 5, kNeightbours = 4)
Arguments
iterations |
Number of iterations |
kNeightbours |
Number of neighbours |
Value
Returns a function that is used to generate an evaluation set measure (between -1 and 1) using RFSM value for the selected features.
Author(s)
Alfonso Jiménez-Vílchez
References
Arauzo-Azofra A, Benítez J, Castro J (2004-1). “A feature set measure based on Relief.” Proceedings of the 5th International Conference on Recent Advances in Soft Computing.
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
# Generate the evaluation function with Cramer
RFSM_evaluator <- ReliefFeatureSetMeasure()
# Evaluate the features (parameters: dataset, target variable and features)
RFSM_evaluator(iris,'Species',c('Sepal.Length','Sepal.Width','Petal.Length','Petal.Width'))
## End(Not run)
[Package FSinR version 2.0.5 Index]