📄 createdata.html
字号:
<html><head> <meta HTTP-EQUIV="Content-Type" CONTENT="text/html;charset=ISO-8859-1"> <title>Contents.m</title><link rel="stylesheet" type="text/css" href="../stpr.css"></head><body><table border=0 width="100%" cellpadding=0 cellspacing=0><tr valign="baseline"><td valign="baseline" class="function"><b class="function">CREATEDATA</b><td valign="baseline" align="right" class="function"><a href="../data/index.html" target="mdsdir"><img border = 0 src="../up.gif"></a></table> <p><b>Interactive data generator.
</b></p> <hr><div class='code'><code><span class=help>
</span><br><span class=help> <span class=help_field>Synopsis:</span></span><br><span class=help> createdata
</span><br><span class=help> createdata('finite')
</span><br><span class=help> createdata('finite',num_classes)
</span><br><span class=help> createdata('gauss')
</span><br><span class=help> createdata('gauss',num_distrib)
</span><br><span class=help>
</span><br><span class=help> <span class=help_field>Description:</span></span><br><span class=help> createdata or createdata('finite') invokes an interactive generator
</span><br><span class=help> of finite point sets in 2D. The generated points can be assigned
</span><br><span class=help> into two classes (1,2). The generator saves data to a
</span><br><span class=help> specified file. The file has the following fields:
</span><br><span class=help> X [2 x num_data] 2D vectors.
</span><br><span class=help> y [1 x num_data] Assigned labels.
</span><br><span class=help>
</span><br><span class=help> createdata('finite',num_classes) when num_classes is specified
</span><br><span class=help> then the points can be assigned labels from 1 to num_classes.
</span><br><span class=help>
</span><br><span class=help> createdata('gauss') invokes an interactive generator of
</span><br><span class=help> Gaussian distributions. A user can specify mean vector and
</span><br><span class=help> covariance matrix. The generator saves data to a file
</span><br><span class=help> having the following fields:
</span><br><span class=help> Mean [2 x ncomp] Mean vectors.
</span><br><span class=help> Cov [2 x 2 x ncomp] Covariance matrices.
</span><br><span class=help> y [1 x ncomp] Assigned labels.
</span><br><span class=help>
</span><br><span class=help> createdata('gauss',num_classes) when num_classes is specified
</span><br><span class=help> then the distributions can be assigned labels from 1 to num_classes.
</span><br><span class=help>
</span><br><span class=help> The data generator is controlled by mouse:
</span><br><span class=help> Left button ... creates a new point or Gaussian.
</span><br><span class=help> Right button ... erases the focused point or Gaussian.
</span><br><span class=help>
</span><br><span class=help> In the case of generating Gaussians left button double-click makes
</span><br><span class=help> selected Gaussian focused. The covariance matrix of focused
</span><br><span class=help> Gaussian can be modified.
</span><br><span class=help>
</span><br></code></div> <hr> <b>Source:</b> <a href= "../data/list/createdata.html">createdata.m</a> <p><b class="info_field">About: </b> Statistical Pattern Recognition Toolbox
<br> (C) 1999-2003, Written by Vojtech Franc and Vaclav Hlavac
<br> <a href="http://www.cvut.cz">Czech Technical University Prague</a>
<br> <a href="http://www.feld.cvut.cz">Faculty of Electrical Engineering</a>
<br> <a href="http://cmp.felk.cvut.cz">Center for Machine Perception</a>
<br> <p><b class="info_field">Modifications: </b>
<br> 01-may-2004, VF
<br> 13-Feb-2003, VF
<br></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -