ex1.data: A simulated dataset from a mixture of normals

Description Usage Format Source Examples

Description

A simulated dataset from a mixture of four normals. True clusters are located at (+/- 2, +/- 2) with a standard deviation of 1.

Usage

1

Format

  1. The data points are contained in the first two columns x1 and x2 of length 200; the 200 data points were simulated from a mixture of four normals at locations (+/- 2, +/- 2) with a standard deviation of 1.

  2. The third column cls.true of length 200 contains the true clustering of the 200 data points.

Source

Wade, S. and Ghahramani, Z. (2015) Bayesian cluster analysis: Point estimation and credible balls. Submitted. arXiv:1505.03339.

Examples

1
2
3
4
5
6
7
data(ex1.data)
x=ex1.data[,c(1,2)]
cls.true=ex1.data$cls.true
plot(x[,1],x[,2],xlab="x1",ylab="x2")
k=max(cls.true)
for(l in 2:k){
points(x[cls.true==l,1],x[cls.true==l,2],col=l)}

muschellij2/mcclust.ext documentation built on May 26, 2019, 9:36 a.m.