plotRisk | R Documentation |
This function visualizes the risk during training. If validation data are given, then the train risk is plotted against the validation risk.
plotRisk(cboost)
cboost |
(Compboost) |
ggplot
object containing the graphic.
cboost_no_valdat = boostSplines(data = iris, target = "Sepal.Length",
loss = LossQuadratic$new())
plotRisk(cboost_no_valdat)
cboost_valdat = boostSplines(data = iris, target = "Sepal.Length",
loss = LossQuadratic$new(), oob_fraction = 0.3)
plotRisk(cboost_valdat)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.