bestLayerLearner | R Documentation |
The meta learner is the best layer-specific learner. This function is intended to be (internally) used as meta-learner in fuseMLR.
bestLayerLearner(x, y, perf = NULL)
x |
|
y |
|
perf |
|
A model object of class weightedMeanLeaner
.
set.seed(20240624L)
x = data.frame(x1 = runif(n = 50L, min = 0, max = 1))
y = sample(x = 0L:1L, size = 50L, replace = TRUE)
my_best_model = bestLayerLearner(x = x, y = y)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.