convertMLBenchObjToTask {mlr} | R Documentation |
Convert a machine learning benchmark / demo object from package mlbench to a task.
Description
We auto-set the target column, drop any column which is called “Id” and
convert logicals to factors.
Usage
convertMLBenchObjToTask(x, n = 100L, ...)
Arguments
x |
(character(1) )
Name of an mlbench function or dataset.
|
n |
(integer(1) )
Number of observations for data simul functions.
Note that for a few mlbench function this setting is not exactly respected by mlbench.
Default is 100.
|
... |
(any)
Passed on to data simul functions.
|
Examples
print(convertMLBenchObjToTask("Ionosphere"))
print(convertMLBenchObjToTask("mlbench.spirals", n = 100, sd = 0.1))
[Package
mlr version 2.19.2
Index]