ReliefFeatureSetMeasure: Relief Feature Set Measure evaluation measure

View source: R/RFSM.R

ReliefFeatureSetMeasureR Documentation

Relief Feature Set Measure evaluation measure

Description

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.

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

\insertAllCited

Examples

 

## 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'))


FSinR documentation built on Nov. 5, 2025, 5:24 p.m.