| exp2d.C | R Documentation |
Generates 2-d classification data with two or three class labels, based on the Hessian data from a 2-d real-valued response
exp2d.C(X, threed = TRUE)
X |
a |
threed |
a scalar |
The underlying real-valued response is governed by
Z(X) = X1 * exp(-X1^2-X2^2).
Two class labels are generated by inspecting the sign of the sum of
the eigenvalues of the Hessian (Broderick & Gramacy, 2010). This
generates the first (-) and second (+) classes in a three-class
function. A third class label (the default) may
created from the first one where X[,1] > 0 (Gramacy & Polson, 2011)
A vector of class labels of length nrow(X) is returned
Robert B. Gramacy, rbg@vt.edu
Broderick, T. and Gramacy, R. (2010). “Classification and categorical inputs with treed Gaussian process models.” Tech. rep., University of Cambridge. ArXiv:0904.4891.
Gramacy, R. and Polson, N. (2011). “Particle learning of Gaussian process models for sequential design and optimization.” Journal of Computational and Graphical Statistics, 20(1), pp. 102-118; arXiv:0909.5262
Gramacy, R. (2020). “Surrogates: Gaussian Process Modeling, Design and Optimization for the Applied Sciences”. Chapman Hall/CRC; https://bobby.gramacy.com/surrogates/
https://bobby.gramacy.com/r_packages/plgp/
## The following demos use this data
## Not run:
## Illustrates classification GPs on a simple 2-d exponential
## data generating mechanism
demo("plcgp_exp", ask=FALSE)
## Illustrates active learning via entropy with classification
## GPs on a simple 2-d exponential data generating mechanism
demo("plcgp_exp_entropy", ask=FALSE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.