Daniel@0: Daniel@0: Daniel@0: Daniel@0: Netlab Reference Manual demknn1 Daniel@0: Daniel@0: Daniel@0: Daniel@0:

demknn1 Daniel@0:

Daniel@0:

Daniel@0: Purpose Daniel@0:

Daniel@0: Demonstrate nearest neighbour classifier. Daniel@0: Daniel@0:

Daniel@0: Synopsis Daniel@0:

Daniel@0:
Daniel@0: demknn1
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:

The second Daniel@0: figure shows the data labelled with the corresponding class given Daniel@0: by the classifier. Daniel@0: Daniel@0:

Daniel@0: See Also Daniel@0:

Daniel@0: dem2ddat, demgmm1, knn
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: