Description Usage Arguments Details Value Examples
View source: R/feature.boruta.R
The method creates a formula that puts a target value in relationship to features selected by the Boruta algorithm.
1 | feature.boruta.formula(boruta, tentative = F)
|
boruta |
|
tentative |
|
This method evaluates the Boruta
object. In case some other object is
provided to the function it will abort with an error. Given correct inputs
the function accesses the target
property of the custom Boruta
object returned by feature.boruta
and also obtains the
categorized list of the evaluated variables via
feature.boruta.variables
. With these inputs a formula of the
structure target ~ predictorVar1 + ...
is created which can then e.g.
be reused for regression.
formula
object that represents the relationship between the
predictors and the target variable which has been evaluated by the
Boruta algorithm. The form will be target ~ predictorVars
where predictorVars
will only be confirmed (and tentative)
variables.
1 2 3 4 5 6 | boruta <- KaggleHouse:::feature.boruta(
target = data_train_na$SalePrice, predictors = data_train_na[-81],
fixNA = T, roughFix = T, verbose = T
)
KaggleHouse:::feature.boruta.formula(boruta, tentative = T)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.