Filter using Boruta algorithm.
boruta_filter(
y,
x,
select = c("Confirmed", "Tentative"),
type = c("index", "names", "full"),
...
)Integer vector of indices of filtered parameters (type = "index") or
character vector of names (type = "names") of filtered parameters. If
type is "full" full output from Boruta is returned.
Response vector
Matrix of predictors
Which type of features to retain. Options include "Confirmed" and/or "Tentative".
Type of vector returned. Default "index" returns indices, "names" returns predictor names, "full" returns a named vector of variable importance.
Other arguments passed to Boruta::Boruta()
Boruta works differently from other filters in that it does not rank variables by variable importance, but tries to determine relevant features and divides features into Rejected, Tentative or Confirmed.