Description Usage Arguments Value Author(s) Examples
View source: R/selectIndividualFeatures.R
Generates a direct search function that selects features (in descending order from the best evaluation measure to the lowest) until evaluation difference is over a threshold (The features evaluation is individual). This function is called internally within the directSearchAlgorithm
function.
1 | selectDifference(d.threshold = 0.2)
|
d.threshold |
|
Returns a direct search function that is used in the feature selection process.
Adan M. Rodriguez
Francisco Aragón Royón
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 | ## Not run:
## The direct application of this function is an advanced use that consists of using this
# function directly and performing a direct search process
## Classification problem
# Generates the filter evaluation function
filter_evaluator <- filterEvaluator('determinationCoefficient')
# Generates the direct search function with difference
sd_direct_search <- selectDifference()
# Performs the direct search process directly (parameters: dataset, target variable and evaluator)
sd_direct_search(iris, 'Species', filter_evaluator)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.