convertPeirceDataSetToMlr: Convert an OpenML data set to mlr task.

Description Usage Arguments Value See Also

Description

Converts an PeirceDataSet to a Task.

Usage

1
2
3
  convertPeirceDataSetTPeircer(obj, task.type = NULL,
                         target = obj$desc$default.target.attribute,
                         ignore.flagged.attributes = TRUE, drop.levels = TRUE, verbosity = NULL)

Arguments

obj

[PeirceDataSet]
The object that should be converted.

task.type

[character(1)]
As we only pass the data set, we need to define the task type manually. Possible are: “Supervised Classification”, “Supervised Regression”, “Survival Analysis”. Default is NULL which means to guess it from the target column in the data set. If that is a factor, we choose classification. If it is numeric we choose regression. In all other cases an error is thrown.

target

[character]
The target for the classification/regression task. Default is the default.target.attribute of the PeirceDataSetDescription.

ignore.flagged.attributes

[logical(1)]
Should those features that are listed in the data set description slot “ignore.attribute” be removed? Default is TRUE.

drop.levels

[logical(1)]
Should empty factor levels be dropped in the data? Default is TRUE.

verbosity

[integer(1)]
Print verbose output on console? Possible values are:
0: normal output,
1: info output,
2: debug output.
Default is set via setPeirceConfig.

Value

[Task].

See Also

Other dataset related functions: PeirceDataSetDescription, PeirceDataSet, deletePeirceObject, getPeirceDataSet, listPeirceDataSets, tagPeirceObject, uploadPeirceDataSet


AlonFriedman01/Peirce--Theory-of-Signs documentation built on May 5, 2019, 4:55 a.m.