selectThresholdRange {FSinR} | R Documentation |
Select threshold range
Description
Generates a direct search function that selects the features whose evaluation is over a threshold, where this threshold is given as: (((min - max) * p.threshold) + max)(The features evaluation is individual). This function is called internally within the directSearchAlgorithm
function.
Usage
selectThresholdRange(p.threshold = 0.8)
Arguments
p.threshold |
|
Value
Returns a direct search function that is used in the feature selection process.
Author(s)
Adan M. Rodriguez
Francisco Aragón Royón
Examples
## 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 threshold range
str_direct_search <- selectThresholdRange()
# Performs the direct search process directly (parameters: dataset, target variable and evaluator)
str_direct_search(iris, 'Species', filter_evaluator)
## End(Not run)
[Package FSinR version 2.0.5 Index]