view toolboxes/FullBNT-1.0.7/nethelp3.3/demknn1.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
line wrap: on
line source
<html>
<head>
<title>
Netlab Reference Manual demknn1
</title>
</head>
<body>
<H1> demknn1
</H1>
<h2>
Purpose
</h2>
Demonstrate nearest neighbour classifier.

<p><h2>
Synopsis
</h2>
<PRE>
demknn1</PRE>


<p><h2>
Description
</h2>
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 <CODE>demgmm1</CODE>.

<p>The second
figure shows the data labelled with the corresponding class given
by the classifier.

<p><h2>
See Also
</h2>
<CODE><a href="dem2ddat.htm">dem2ddat</a></CODE>, <CODE><a href="demgmm1.htm">demgmm1</a></CODE>, <CODE><a href="knn.htm">knn</a></CODE><hr>
<b>Pages:</b>
<a href="index.htm">Index</a>
<hr>
<p>Copyright (c) Ian T Nabney (1996-9)


</body>
</html>