Description Usage Arguments Author(s) References See Also Examples
The function produces a graphical illustration of a model selection which has been done with selectmodel
.
Strictly speaking it's a filled.contour
plot in which additionally the relevant dimensions for the different
models are drawn as a black line. selectmodel
chooses the deepest point in this map, that is the model
and the relevant dimension with the smallest loo-cv-error/negative-log-likelihood-value.
1 2 3 4 5 | modelimage(model,
color.palette = topo.colors,
log = TRUE,
plottitle = "RDE Model Selection",
...)
|
model |
list of model selection data as it has been returned by |
color.palette |
color palette function to use, see |
log |
leave this TRUE, if the axis of the model parameter should be logarithmically scaled. Set this to FALSE if you want linear scaling. |
plottitle |
title of the plot |
... |
additional parameters for |
Jan Saputra Mueller
M. L. Braun, J. M. Buhmann, K. R. Mueller (2008) \_On Relevant Dimensions in Kernel Feature Spaces\_
selectmodel
, distimage
, drawkpc
, filled.contour
,
rainbow
1 2 3 4 5 | ## model selection with RBF-kernel and graphical illustration
d <- sincdata(100, 0.1) # generate sinc data
# do model selection
m <- selectmodel(d$X, d$y, sigma = logspace(-3, 3, 100))
modelimage(m) # draw model selection image
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.