Description Usage Arguments Details Value

Mainly for internal use. Trains a wrapped learner on a given training set. You have to implement this method if you want to add another learner to this package.

1 | ```
trainLearner(.learner, .task, .subset, .weights = NULL, ...)
``` |

`.learner` |
[ |

`.task` |
[ |

`.subset` |
[ |

`.weights` |
[ |

`...` |
[any] |

Your implementation must adhere to the following:
The model must be fitted on the subset of `.task`

given by `.subset`

. All parameters
in `...`

must be passed to the underlying training function.

[any]. Model of the underlying learner.

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.