Mercurial > hg > camir-aes2014
view toolboxes/FullBNT-1.0.7/nethelp3.3/gmmsamp.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 gmmsamp </title> </head> <body> <H1> gmmsamp </H1> <h2> Purpose </h2> Sample from a Gaussian mixture distribution. <p><h2> Synopsis </h2> <PRE> data = gmmsamp(mix, n) [data, label] = gmmsamp(mix, n) </PRE> <p><h2> Description </h2> <p><CODE>data = gsamp(mix, n)</CODE> generates a sample of size <CODE>n</CODE> from a Gaussian mixture distribution defined by the <CODE>mix</CODE> data structure. The matrix <CODE>x</CODE> has <CODE>n</CODE> rows in which each row represents a <CODE>mix.nin</CODE>-dimensional sample vector. <p><CODE>[data, label] = gmmsamp(mix, n)</CODE> also returns a column vector of classes (as an index 1..N) <CODE>label</CODE>. <p><h2> See Also </h2> <CODE><a href="gsamp.htm">gsamp</a></CODE>, <CODE><a href="gmm.htm">gmm</a></CODE><hr> <b>Pages:</b> <a href="index.htm">Index</a> <hr> <p>Copyright (c) Ian T Nabney (1996-9) </body> </html>