View source: R/selectIndividualFeatures.R
| selectPercentile | R Documentation |
Generates a direct search function that selects a fraction, given as a percentage, of the total number of available features (The features evaluation is individual). This function is called internally within the directSearchAlgorithm function.
selectPercentile(percentile = 80)
percentile |
Number (positive integer) between 0 and 100 |
Returns a direct search function that is used in the feature selection process.
Adan M. Rodriguez
Francisco Aragón Royón
## 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('IEConsistency')
# Generates the direct search function with percentile
sp_direct_search <- selectPercentile()
# Performs the direct search process directly (parameters: dataset, target variable and evaluator)
sp_direct_search(iris, 'Species', filter_evaluator)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.