R/convertMLBenchObjToTask.R
convertMLBenchObjToTask.Rd
We auto-set the target column, drop any column which is called “Id” and convert logicals to factors.
convertMLBenchObjToTask(x, n = 100L, ...)
x | ( |
---|---|
n | ( |
... | (any) |
#> Supervised task: Ionosphere #> Type: classif #> Target: Class #> Observations: 351 #> Features: #> numerics factors ordered functionals #> 32 2 0 0 #> Missings: FALSE #> Has weights: FALSE #> Has blocking: FALSE #> Has coordinates: FALSE #> Classes: 2 #> bad good #> 126 225 #> Positive class: bad#> Supervised task: mlbench.spirals #> Type: classif #> Target: classes #> Observations: 100 #> Features: #> numerics factors ordered functionals #> 2 0 0 0 #> Missings: FALSE #> Has weights: FALSE #> Has blocking: FALSE #> Has coordinates: FALSE #> Classes: 2 #> 1 2 #> 50 50 #> Positive class: 1