View source: R/feature.selection.R
feature.selection | R Documentation |
Selection of features
feature.selection(
x,
y,
methods,
connection.method = "sum",
params = list(adjust = "holm", feature.number = 10, alpha = 0.05)
)
x |
input data where columns are variables and rows are observations (all numeric) |
y |
decision variable as a boolean vector of length equal to number of observations |
methods |
the name of the selection method for traits available in this library |
connection.method |
method of combining selection results if more than one method is selected, options |
params |
A |
Uses the methods of selection of features available in this library
A new data.frame
consisting of the selected functions and the decision variable
## Not run:
class <- data$class
data$class <- NULL
feature.selection(x = data,
y = class,
methods = c('fs.utest','fs.mdfs.1D', 'fs.mrmr', 'fs.mcfs'),
connection.method = 'sum',
params = list(feature.number=100, adjust = 'holm', alpha = 0.05))
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.