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