comparison toolboxes/FullBNT-1.0.7/nethelp3.3/mdndist2.htm @ 0:e9a9cd732c1e tip

first hg version after svn
author wolffd
date Tue, 10 Feb 2015 15:05:51 +0000
parents
children
comparison
equal deleted inserted replaced
-1:000000000000 0:e9a9cd732c1e
1 <html>
2 <head>
3 <title>
4 Netlab Reference Manual mdndist2
5 </title>
6 </head>
7 <body>
8 <H1> mdndist2
9 </H1>
10 <h2>
11 Purpose
12 </h2>
13 Calculates squared distance between centres of Gaussian kernels and data
14
15 <p><h2>
16 Synopsis
17 </h2>
18 <PRE>
19 n2 = mdndist2(mixparams, t)
20 </PRE>
21
22
23 <p><h2>
24 Description
25 </h2>
26 <CODE>n2 = mdndist2(mixparams, t)</CODE> takes takes the centres of the Gaussian
27 contained in
28 <CODE>mixparams</CODE> and the target data matrix, <CODE>t</CODE>, and computes the squared
29 Euclidean distance between them. If <CODE>t</CODE> has <CODE>m</CODE> rows and <CODE>n</CODE>
30 columns, then the <CODE>centres</CODE> field in
31 the <CODE>mixparams</CODE> structure should have <CODE>m</CODE> rows and
32 <CODE>n*mixparams.ncentres</CODE> columns: the centres in each row relate to
33 the corresponding row in <CODE>t</CODE>.
34 The result has <CODE>m</CODE> rows and <CODE>mixparams.ncentres</CODE> columns.
35 The <CODE>i, j</CODE>th entry is the
36 squared distance from the <CODE>i</CODE>th row of <CODE>x</CODE> to the <CODE>j</CODE>th
37 centre in the <CODE>i</CODE>th row of <CODE>mixparams.centres</CODE>.
38
39 <p><h2>
40 See Also
41 </h2>
42 <CODE><a href="mdnfwd.htm">mdnfwd</a></CODE>, <CODE><a href="mdnprob.htm">mdnprob</a></CODE><hr>
43 <b>Pages:</b>
44 <a href="index.htm">Index</a>
45 <hr>
46 <p>Copyright (c) Ian T Nabney (1996-9)
47 <p>David J Evans (1998)
48
49 </body>
50 </html>