normalizedRelief: Normalized Relief

Description Usage Arguments Details Value Author(s) References Examples

View source: R/relief.R

Description

Generates an evaluation function that calculates a measure of the set of features between 0 and 1 with relief (individual measure). The relief algorithm \insertCiteKira1992FSinR finds weights of continous and discrete attributes basing on a distance between instances. Adapted from Piotr Romanski's Fselector package \insertCiteFSelectorPkgFSinR. This function is called internally within the filterEvaluator function.

Usage

1
normalizedRelief(neighbours.count = 5, sample.size = 10)

Arguments

neighbours.count
  • number of neighbours to find for every sampled instance

sample.size
  • number of instances to sample

Details

relief classification and regression continous and discrete data

Value

Returns a function that is used to generate an individual evaluation measure using relief

Author(s)

Alfonso Jiménez-Vílchez

References

\insertAllCited

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
## Not run:  

## The direct application of this function is an advanced use that consists of using this 
# function directly to individually evaluate a set of features
## Classification problem

# Generate the evaluation function with Cramer
relief_evaluator <- normalizedRelief()
# Evaluate the features (parameters: dataset, target variable and features)
relief_evaluator(iris,'Species',c('Sepal.Length'))

## End(Not run)

FSinR documentation built on Nov. 23, 2020, 5:10 p.m.