View source: R/mergeSmallFactorLevels.R
mergeSmallFactorLevels | R Documentation |
Merges factor levels that occur only infrequently into combined levels with a higher frequency.
mergeSmallFactorLevels(
task,
cols = NULL,
min.perc = 0.01,
new.level = ".merged"
)
task |
(Task) |
cols |
(character) Which columns to convert. Default is all factor and character columns. |
min.perc |
( |
new.level |
( |
Task
, where merged levels are combined into a new level of name new.level
.
Other eda_and_preprocess:
capLargeValues()
,
createDummyFeatures()
,
dropFeatures()
,
normalizeFeatures()
,
removeConstantFeatures()
,
summarizeColumns()
,
summarizeLevels()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.