Create regression or classification task.

create_task(model, dataset, target_var, weights = NULL)

Arguments

model

Name of a used model in mlr format.

dataset

Data frame on which model will be trained.

target_var

Name of column in dataset containing explained variable.

weights

Weights for observations.

Value

mlr task object