Description Usage Arguments Details Value Author(s) References Examples
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.
1 | normalizedRelief(neighbours.count = 5, sample.size = 10)
|
neighbours.count |
|
sample.size |
|
relief classification and regression continous and discrete data
Returns a function that is used to generate an individual evaluation measure using relief
Alfonso Jiménez-Vílchez
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)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.