R/joinClassLevels.R
joinClassLevels.Rd
Join some class existing levels to new, larger class levels for classification problems.
joinClassLevels(task, new.levels)
task | (Task) |
---|---|
new.levels | ( |
Task.
#> Supervised task: iris-example #> Type: classif #> Target: Species #> Observations: 150 #> Features: #> numerics factors ordered functionals #> 4 0 0 0 #> Missings: FALSE #> Has weights: FALSE #> Has blocking: FALSE #> Has coordinates: FALSE #> Classes: 2 #> foo versicolor #> 100 50 #> Positive class: foo