<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237514</link>
    <title>MATLAB Central Newsreader - randfeatures</title>
    <description>Feed for thread: randfeatures</description>
    <language>en-us</language>
    <copyright>&amp;copy;1994-2012 by MathWorks, Inc.</copyright>
    <webmaster>webmaster@mathworks.com</webmaster>
    <generator>MATLAB Central Newsreader</generator>
    <docs>http://blogs.law.harvard.edu/tech/rss</docs>
    <ttl>60</ttl>
    <image>
      <title>MathWorks</title>
      <url>http://www.mathworks.com/images/membrane_icon.gif</url>
    </image>
    <item>
      <pubDate>Tue, 14 Oct 2008 15:41:02 -0400</pubDate>
      <title>randfeatures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237514#605200</link>
      <author>Sunny </author>
      <description>Hi, &lt;br&gt;
&lt;br&gt;
Im trying to use the randfeatures fuction, in the example provided by MATLAB it uses two datasets X(1375x60) and GROUP(1x60) &lt;br&gt;
&lt;br&gt;
example: I = randfeatures(X,GROUP,'SubsetSize',15,'Classifier','da');&lt;br&gt;
&lt;br&gt;
my dataset of the same type (double) is X(1668x1497) and GROUP(1x1497), but, I get the error message &quot;Error using ==&amp;gt; classify&lt;br&gt;
TRAINING must have more observations than the number of groups.&quot;&lt;br&gt;
&lt;br&gt;
I cant work out where this issue lies, my training is 1668 samples which is more than group(60).&lt;br&gt;
&lt;br&gt;
Any help?&lt;br&gt;
&lt;br&gt;
kind regards</description>
    </item>
    <item>
      <pubDate>Tue, 14 Oct 2008 18:06:47 -0400</pubDate>
      <title>Re: randfeatures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237514#605225</link>
      <author>Ting</author>
      <description>Sunny wrote:&lt;br&gt;
&amp;gt; Hi, &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Im trying to use the randfeatures fuction, in the example provided by MATLAB it uses two datasets X(1375x60) and GROUP(1x60) &lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; example: I = randfeatures(X,GROUP,'SubsetSize',15,'Classifier','da');&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; my dataset of the same type (double) is X(1668x1497) and GROUP(1x1497), but, I get the error message &quot;Error using ==&amp;gt; classify&lt;br&gt;
&amp;gt; TRAINING must have more observations than the number of groups.&quot;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; I cant work out where this issue lies, my training is 1668 samples which is more than group(60).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Any help?&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; kind regards&lt;br&gt;
&lt;br&gt;
Sunny,&lt;br&gt;
Without looking at your data, I don't know what really happened on your &lt;br&gt;
data. However, the following can be one possible reason.&lt;br&gt;
randfeatures is the bioinformatics toolbox, so every column of X &lt;br&gt;
represents an observed sample. This is a convention used for &lt;br&gt;
bioinformatics applications and is clearly documented.&lt;br&gt;
&lt;br&gt;
-Ting&lt;br&gt;
Mathworks</description>
    </item>
    <item>
      <pubDate>Tue, 19 Jan 2010 12:17:40 -0500</pubDate>
      <title>Re: randfeatures</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/237514#709452</link>
      <author>aadil79</author>
      <description>Sicne this thread was open i thought i would ask a question i had on my mind.&lt;br&gt;
&lt;br&gt;
Basically trying to understand the randfeatures in general.I wanted to understand the subset size parameter what it meant and its impact to the randfeatures function when user provides different values.DEfault is '15' i used 10 when i tried to increase it to 30 its still processing.</description>
    </item>
  </channel>
</rss>

