exp2d.rand {tgp}R Documentation

Randomly subsampled 2-d Exponential Data

Description

A Random subsample of data(exp2d)

Usage

exp2d.rand()

Details

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

Value

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

Note

This data is used in the examples of the functions listed above in the “See Also” section, below

Author(s)

Robert B. Gramacy rbgramacy@ams.ucsc.edu

References

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

See Also

exp2d, tgp, bgpllm, btlm, blm, bgp, btgpllm, bgp

Examples

# 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")

[Package tgp version 1.1-3 Index]