demknn1
Purpose
Demonstrate nearest neighbour classifier.
Synopsis
demknn1
Description
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 demgmm1.
The second
figure shows the data labelled with the corresponding class given
by the classifier.
See Also
dem2ddat, demgmm1, knn
Pages:
Index
Copyright (c) Ian T Nabney (1996-9)