Learn R Programming

mlr3 (version 0.23.0)

task_check_col_roles: Check Column Roles

Description

Internal function to check column roles.

Usage

task_check_col_roles(task, new_roles, ...)

# S3 method for Task task_check_col_roles(task, new_roles, ...)

# S3 method for TaskClassif task_check_col_roles(task, new_roles, ...)

# S3 method for TaskRegr task_check_col_roles(task, new_roles, ...)

# S3 method for TaskSupervised task_check_col_roles(task, new_roles, ...)

# S3 method for TaskUnsupervised task_check_col_roles(task, new_roles, ...)

Arguments

task

(Task)
Task.

new_roles

(list())
Column roles.