Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: randfeatures
Date: Tue, 14 Oct 2008 15:41:02 +0000 (UTC)
Organization: De Montfort University
Lines: 14
Message-ID: <gd2eid$lre$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-02-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1223998862 22382 172.30.248.37 (14 Oct 2008 15:41:02 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Tue, 14 Oct 2008 15:41:02 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 803794
Xref: news.mathworks.com comp.soft-sys.matlab:495119


Hi, 

Im trying to use the randfeatures fuction, in the example provided by MATLAB it uses two datasets X(1375x60) and GROUP(1x60) 

example: I = randfeatures(X,GROUP,'SubsetSize',15,'Classifier','da');

my dataset of the same type (double) is X(1668x1497) and GROUP(1x1497), but, I get the error message "Error using ==> classify
TRAINING must have more observations than the number of groups."

I cant work out where this issue lies, my training is 1668 samples which is more than group(60).

Any help?

kind regards