task_check_col_roles: Check Column Roles

View source: R/Task.R

task_check_col_rolesR Documentation

Check Column Roles

Description

Internal function to check column roles.

Usage

task_check_col_roles(task, new_roles, ...)

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

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

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

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

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

Arguments

task

(Task)
Task.

new_roles

(list())
Column roles.


mlr3 documentation built on Oct. 18, 2024, 5:11 p.m.