prune.data | R Documentation |
Selects columns from input data based on the highest RIs of attributes.
prune.data(x, mcfs_result, size = NA)
x |
input data.frame. |
mcfs_result |
result from |
size |
number of top features to select from input data. If |
data.frame with selected columns.
## Not run: ###dontrunbegin
# create input data
adata <- artificial.data(rnd_features = 10)
showme(adata)
# Parametrize and run MCFS-ID procedure
result <- mcfs(class~., adata, cutoffPermutations = 0, featureFreq = 10,
finalCV = FALSE, finalRuleset = FALSE, threadsNumber = 2)
head(prune.data(adata, result, size = result$cutoff_value))
## End(Not run)###dontrunend
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.