as_measure {mlr3} | R Documentation |
Convert to a Measure
Description
Convert object to a Measure or a list of Measure.
Usage
as_measure(x, ...)
## S3 method for class ''NULL''
as_measure(x, task_type = NULL, ...)
## S3 method for class 'Measure'
as_measure(x, clone = FALSE, ...)
as_measures(x, ...)
## Default S3 method:
as_measures(x, ...)
## S3 method for class ''NULL''
as_measures(x, task_type = NULL, ...)
## S3 method for class 'list'
as_measures(x, ...)
Arguments
x |
(any) |
... |
(any) |
task_type |
( |
clone |
( |
Value
[Package mlr3 version 0.20.2 Index]