capLargeValues {mlr} | R Documentation |
Convert large/infinite numeric values in a data.frame or task.
Description
Convert numeric entries which large/infinite (absolute) values in a data.frame or task. Only numeric/integer columns are affected.
Usage
capLargeValues(
obj,
target = character(0L),
cols = NULL,
threshold = Inf,
impute = threshold,
what = "abs"
)
Arguments
obj |
(data.frame | Task) |
target |
(character) |
cols |
(character) |
threshold |
( |
impute |
( |
what |
( |
Value
See Also
Other eda_and_preprocess:
createDummyFeatures()
,
dropFeatures()
,
mergeSmallFactorLevels()
,
normalizeFeatures()
,
removeConstantFeatures()
,
summarizeColumns()
,
summarizeLevels()
Examples
capLargeValues(iris, threshold = 5, impute = 5)