exp2d.rand {tgp} | R Documentation |
A Random subsample of data(exp2d)
exp2d.rand()
Data is subsampled without replacement from data(exp2d)
.
Of the 80 input/response pairs X,Z
, 50 are taken from the first
quadrant, i.e., where the response is interesting, and the remaining 30
are taken from the other three quadrants
Output is a list
with entries:
X |
2-d data.frame with 80 input locations |
Z |
Numeric vector describing the responses at the X locations |
XX |
2-d data.frame containing the remaining 361 input locations |
This data is used in the examples of the functions listed above in the “See Also” section, below
Robert B. Gramacy rbgramacy@ams.ucsc.edu
Gramacy, R. B., Lee, H. K. H., & Macready, W. (2004). Parameter space exploration with Gaussian process trees. ICML (pp. 353–360). Omnipress & ACM Digital Library.
Gramacy, R. B. & Lee, H. K. H. (2005). Gaussian Processes and Limiting Linear Models. available as UCSC Technical Report ams2005-17
http://www.ams.ucsc.edu/~rbgramacy/tgp.php
exp2d
, tgp
, bgpllm
, btlm
,
blm
, bgp
, btgpllm
, bgp
# random data ed <- exp2d.rand() # higher span = 0.5 required becuase the data is sparce # and was generated randomly ed.g <- interp.loess(ed$X[,1], ed$X[,2], ed$Z, span=0.5) # perspective plot, and plot of the input (X) locations par(mfrow=c(1,2), bty="n") persp(ed.g, main="loess surface", theta=-30, phi=20, xlab="X[,1]", ylab="X[,2]", zlab="Z") plot(ed$X, main="Randomly Subsampled Inputs")