Demonstrate nearest neighbour classifier.
The problem consists of data in a two-dimensional space.
The data is
drawn from three spherical Gaussian distributions with priors 0.3,
0.5 and 0.2; centres (2, 3.5), (0, 0) and (0,2); and standard deviations
0.2, 0.5 and 1.0. The first figure contains a
scatter plot of the data. The data is the same as in
figure shows the data labelled with the corresponding class given
by the classifier.
Copyright (c) Ian T Nabney (1996-9)