Impute factorial features by adding a new feature.
PipeOpImputeNewlvl$new(id = "imputenewlvl", param_vals = list())
Identifier of resulting object, default
param_vals :: named
List of hyperparameter settings, overwriting the hyperparameter settings that would otherwise be set during construction. Default
Input and output channels are inherited from
The output is the input
Task with all affected factorial features missing values imputed by a new level.
$state is a named
list with the
$state elements inherited from
$state$model contains only
The parameters are the parameters inherited from
Adds an explicit new
ordered features, but not to
#> diabetes age glucose insulin mass pedigree pregnant pressure #> 0 0 5 374 11 0 0 35 #> triceps #> 227#> diabetes age glucose insulin mass pedigree pregnant pressure #> 0 0 5 374 11 0 0 35 #> triceps #> 227