| filterFeatures {mlr} | R Documentation |
First, calls generateFilterValuesData.
Features are then selected via select and val.
filterFeatures(task, method = "randomForestSRC_importance", fval = NULL, perc = NULL, abs = NULL, threshold = NULL, mandatory.feat = NULL, cache = FALSE, ...)
task |
(Task) |
method |
( |
fval |
(FilterValues) |
perc |
( |
abs |
( |
threshold |
( |
mandatory.feat |
(character) |
cache |
( |
... |
(any) |
Task.
If cache = TRUE, the default mlr cache directory is used to cache
filter values. The directory is operating system dependent and can be
checked with getCacheDir().
The default cache can be cleared with deleteCacheDir().
Alternatively, a custom directory can be passed to store the cache.
Note that caching is not thread safe. It will work for parallel computation on many systems, but there is no guarantee.
Other filter: generateFilterValuesData,
getFilteredFeatures,
listFilterMethods,
makeFilterWrapper,
makeFilter, plotFilterValues