Learn R Programming

FSinR (version 2.0.5)

normalizedReliefFeatureSetMeasure: Relief Feature Set Measure evaluation measure

Description

Generates an evaluation function that applies Feature set measure based on Relief (set measure). Described in Arauzo2004FSinR. This function is called internally within the filterEvaluator function.

Usage

normalizedReliefFeatureSetMeasure(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.

References

Examples

Run this code
# 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'))
# }

Run the code above in your browser using DataLab