plotBaselearner | R Documentation |
This function visualizes the contribution of a base learner to the overall
prediction score. For visualization of partial effects see plotPEUni()
.
plotBaselearner(cboost, blname, npoints = 100L)
cboost |
(Compboost) |
blname |
( |
npoints |
( |
ggplot
object containing the graphic.
cboost = Compboost$new(data = iris, target = "Petal.Length",
loss = LossQuadratic$new())
cboost$addComponents("Sepal.Width")
cboost$train(500L)
plotBaselearner(cboost, "Sepal.Width_linear")
plotBaselearner(cboost, "Sepal.Width_Sepal.Width_spline_centered")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.