CGGPvalplot {CGGP} | R Documentation |
Plot validation prediction errors for CGGP object
CGGPvalplot(CGGP, Xval, Yval, d = NULL)
CGGP |
CGGP object that has been fitted |
Xval |
X validation data |
Yval |
Y validation data |
d |
If output is multivariate, which column to use. Will do all if left as NULL. |
None, makes a plot
Other CGGP plot functions: CGGPplotblocks
,
CGGPplotcorr
, CGGPplotheat
,
CGGPplothist
,
CGGPplotsamplesneglogpost
,
CGGPplotslice
, CGGPplottheta
,
CGGPplotvariogram
SG <- CGGPcreate(d=3, batchsize=100) f1 <- function(x){x[1]+x[2]^2} y <- apply(SG$design, 1, f1) SG <- CGGPfit(SG, y) Xval <- matrix(runif(3*100), ncol=3) Yval <- apply(Xval, 1, f1) CGGPvalplot(CGGP=SG, Xval=Xval, Yval=Yval)