Mercurial > hg > camir-aes2014
view 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 |
line wrap: on
line source
<html> <head> <title> Netlab Reference Manual mdndist2 </title> </head> <body> <H1> mdndist2 </H1> <h2> Purpose </h2> Calculates squared distance between centres of Gaussian kernels and data <p><h2> Synopsis </h2> <PRE> n2 = mdndist2(mixparams, t) </PRE> <p><h2> Description </h2> <CODE>n2 = mdndist2(mixparams, t)</CODE> takes takes the centres of the Gaussian contained in <CODE>mixparams</CODE> and the target data matrix, <CODE>t</CODE>, and computes the squared Euclidean distance between them. If <CODE>t</CODE> has <CODE>m</CODE> rows and <CODE>n</CODE> columns, then the <CODE>centres</CODE> field in the <CODE>mixparams</CODE> structure should have <CODE>m</CODE> rows and <CODE>n*mixparams.ncentres</CODE> columns: the centres in each row relate to the corresponding row in <CODE>t</CODE>. The result has <CODE>m</CODE> rows and <CODE>mixparams.ncentres</CODE> columns. The <CODE>i, j</CODE>th entry is the squared distance from the <CODE>i</CODE>th row of <CODE>x</CODE> to the <CODE>j</CODE>th centre in the <CODE>i</CODE>th row of <CODE>mixparams.centres</CODE>. <p><h2> See Also </h2> <CODE><a href="mdnfwd.htm">mdnfwd</a></CODE>, <CODE><a href="mdnprob.htm">mdnprob</a></CODE><hr> <b>Pages:</b> <a href="index.htm">Index</a> <hr> <p>Copyright (c) Ian T Nabney (1996-9) <p>David J Evans (1998) </body> </html>