getTaskDictionary: Create a dictionary based on the task.

Description Usage Arguments Value Examples

View source: R/getTaskDictionary.R

Description

Returns a dictionary, which contains the Task itself (task), the number of features (p) the model is trained on, the number of observations (n.task) of the task in general, the number of observations (n) in the current subset, the task type (type) and in case of classification tasks, the number of class levels (k) in the general task.

Usage

1

Arguments

task

[Task] The Task

Value

[list]. Used for evaluating the expressions within a parameter, parameter set or list of parameters.

Examples

1
2
task = makeClassifTask(data = iris, target = "Species")
getTaskDictionary(task)

jakob-r/mlrHyperopt documentation built on Jan. 10, 2022, 4:32 p.m.