Load the Gaussian mixture data from Hastie et al. (2009, Sec. 2.3.3).
Usage
load_eslmix()
Arguments
Value
A list with the following components:
x
200 x 2 matrix of training predictors.
y
class variable; logical vector of 0s and 1s - 100 of each.
xnew
matrix 6831 x 2 of lattice points in predictor space.
prob
vector of 6831 probabilities (of class TRUE) at each lattice point.
marginal
marginal probability at each lattice point.
px1
69 lattice coordinates for x1.
px2
99 lattice values for x2 (69*99=6831).
means
20 x 2 matrix of the mixture centers, first ten for one class, next ten for the other.
References
Trevor Hastie, Robert. Tibshirani, and Jerome Friedman. The Elements of
Statistical Learning: Data Mining, Inference, and Prediction, Second Edition.
Springer Series in Statistics. Springer-Verlag, 2009.