View source: R/removeConstantFeatures.R
removeConstantFeatures | R Documentation |
Constant features can lead to errors in some models and obviously provide no information in the training set that can be learned from. With the argument “perc”, there is a possibility to also remove features for which less than “perc” percent of the observations differ from the mode value.
removeConstantFeatures(
obj,
perc = 0,
dont.rm = character(0L),
na.ignore = FALSE,
wrap.tol = .Machine$double.eps^0.5,
show.info = getMlrOption("show.info"),
...
)
obj |
(data.frame | Task) |
perc |
( |
dont.rm |
(character) |
na.ignore |
( |
wrap.tol |
( |
show.info |
( |
... |
To ensure backward compatibility with old argument |
data.frame | Task. Same type as obj
.
Other eda_and_preprocess:
capLargeValues()
,
createDummyFeatures()
,
dropFeatures()
,
mergeSmallFactorLevels()
,
normalizeFeatures()
,
summarizeColumns()
,
summarizeLevels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.