wolffd@0: wolffd@0: wolffd@0: wolffd@0: Netlab Reference Manual demknn1 wolffd@0: wolffd@0: wolffd@0: wolffd@0:

demknn1 wolffd@0:

wolffd@0:

wolffd@0: Purpose wolffd@0:

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

wolffd@0: Synopsis wolffd@0:

wolffd@0:
wolffd@0: demknn1
wolffd@0: wolffd@0: wolffd@0:

wolffd@0: Description wolffd@0:

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

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

wolffd@0: See Also wolffd@0:

wolffd@0: dem2ddat, demgmm1, knn
wolffd@0: Pages: wolffd@0: Index wolffd@0:
wolffd@0:

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