Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual demkmean Daniel@0: Daniel@0: Daniel@0: Daniel@0:

demkmean Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Demonstrate simple clustering model trained with K-means. Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: demkmean
Daniel@0: Daniel@0: Daniel@0:

Daniel@0: Description Daniel@0:

Daniel@0: The problem consists of data in a two-dimensional space. Daniel@0: The data is Daniel@0: drawn from three spherical Gaussian distributions with priors 0.3, Daniel@0: 0.5 and 0.2; centres (2, 3.5), (0, 0) and (0,2); and standard deviations Daniel@0: 0.2, 0.5 and 1.0. The first figure contains a Daniel@0: scatter plot of the data. The data is the same as in demgmm1. Daniel@0: Daniel@0:

A cluster model with three components is trained using the batch Daniel@0: K-means algorithm. The matrix of centres is printed after training. Daniel@0: The second Daniel@0: figure shows the data labelled with a colour derived from the corresponding Daniel@0: cluster Daniel@0: Daniel@0:

Daniel@0: See Also Daniel@0:

Daniel@0: dem2ddat, demgmm1, knn1, kmeans
Daniel@0: Pages: Daniel@0: Index Daniel@0:
Daniel@0:

Copyright (c) Ian T Nabney (1996-9) Daniel@0: Daniel@0: Daniel@0: Daniel@0: