Learn R Programming

mlr (version 2.7)

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

Examples

Run this code
print(convertMLBenchObjToTask("Ionosphere"))
print(convertMLBenchObjToTask("mlbench.spirals", n = 100, sd = 0.1))

Run the code above in your browser using DataLab