convertMLBenchObjToTask: 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.