Description Super class Methods
This class plots the quality of the single models fit in the mbo run.
VisBayesOpt::MboPlot
-> MboPlotFit
new()
Creates a new instance of this R6 class.
MboPlotFit$new(opt_state)
opt_state
(OptState).
plot()
Plots the fit of the model using R-squared for each iteration of the mbo run.
MboPlotFit$plot( highlight_iter = self$param_vals$highlight_iter, predict_y_iter_surrogate = self$param_vals$predict_y_iter_surrogate )
highlight_iter
(integer(1) | NULL
)
Specifies the iteration to be highlighted. The default NULL
does not highlight any iteration.
predict_y_iter_surrogate
(logical(1) | FALSE
)
Specifies if y_hat is predicted with the surrogate from the chosen iteration. If FALSE y_hat is taken from the optimization
path, i.e. predicted based on surrogate of the respective iteration. If TRUE we use the surrogate of 'highlight_iter' iteration
to predict all points based on the search space x again.
(ggplot).
clone()
The objects of this class are cloneable with this method.
MboPlotFit$clone(deep = FALSE)
deep
Whether to make a deep clone.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.