as_learner | R Documentation |
Convert object to a Learner or a list of Learner.
as_learner(x, ...)
## S3 method for class 'Learner'
as_learner(x, clone = FALSE, discard_state = FALSE, ...)
as_learners(x, ...)
## Default S3 method:
as_learners(x, ...)
## S3 method for class 'list'
as_learners(x, ...)
x |
(any) |
... |
(any) |
clone |
( |
discard_state |
( |
Learner.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.