| ReliefFeatureSetMeasure | R Documentation |
Generates an evaluation function that applies Feature set measure based on Relief (set measure). Described in \insertCiteArauzo2004FSinR. This function is called internally within the filterEvaluator function.
ReliefFeatureSetMeasure(iterations = 5, kNeightbours = 4)
iterations |
Number of iterations |
kNeightbours |
Number of neighbours |
Returns a function that is used to generate an evaluation set measure (between -1 and 1) using RFSM value for the selected features.
Alfonso Jiménez-Vílchez
## 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'))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.