create.regr.task: Create mlr-Task from Data

Description Usage Arguments Value See Also

View source: R/datagen.R

Description

Both create.regr.task and create.classif.task take a numeric target column Y, but create.classif.task binarizes it on cutoff to create a classification task, while create.regr.task creates a regression task.

Usage

1
2
3

Arguments

id

[character(1)] ID to use for Task.

data

[named list] with columns entries $X, $Y, and $orig.features.

cutoff

[numeric(1)] cutoff at which to binarize target.

Value

Task

See Also

Other Artificial Datasets: clonetask(), create.hypersphere.data(), create.linear.data(), create.linear.toy.data(), task.add.permuted.cols(), task.add.random.cols()

Other Artificial Datasets: clonetask(), create.hypersphere.data(), create.linear.data(), create.linear.toy.data(), task.add.permuted.cols(), task.add.random.cols()


mosmafs documentation built on April 14, 2020, 6:58 p.m.