Usage
as_learner(x, ...)
# S3 method for Learner
as_learner(x, clone = FALSE, ...)
as_learners(x, ...)
# S3 method for default
as_learners(x, ...)
# S3 method for list
as_learners(x, ...)
Arguments
- x
(any)
Object to convert.- ...
(any)
Additional arguments.- clone
(
logical(1)
)
IfTRUE
, ensures that the returned object is not the same as the inputx
.