powered by
Selects the features whose evaluation is over a threshold, where this threshold is given as: (((min - max) * p.threshold) + max)
selectThresholdRange(data, class, featureEval, p.threshold = 0.3)
A data frame with the features and the class of the examples
The name of the dependent variable
The measure used to evaluate features
Number between 0 and 1
A list is returned containing:
A vector with all features. Selected features are marked with 1, unselected features are marked with 0
The names of the returned features sorted according to the result of the evaluation measure
The evaluation measures of the returned features
# NOT RUN { ## Select Threshold range for iris dataset (filter method) selectThresholdRange(iris, 'Species', determinationCoefficient, 0.3) # }
Run the code above in your browser using DataLab