Path: news.mathworks.com!not-for-mail
From: Peter Perkins <Peter.PerkinsRemoveThis@mathworks.com>
Newsgroups: comp.soft-sys.matlab
Subject: Re: crossvalind -- size of training/testing set?
Date: Mon, 02 Feb 2009 11:38:25 -0500
Organization: The MathWorks, Inc.
Lines: 7
Message-ID: <gm77i1$s2k$2@fred.mathworks.com>
References: <gm58ci$hrf$1@fred.mathworks.com>
NNTP-Posting-Host: perkinsp.dhcp.mathworks.com
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Trace: fred.mathworks.com 1233592705 28756 172.31.57.88 (2 Feb 2009 16:38:25 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Mon, 2 Feb 2009 16:38:25 +0000 (UTC)
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
In-Reply-To: <gm58ci$hrf$1@fred.mathworks.com>
Xref: news.mathworks.com comp.soft-sys.matlab:515449


Sophia Yuditskaya wrote:

> [train, test] = crossvalind('holdOut', groups, 0.25);
> 
> but I get an OutOfMemoryError.

Sophia, that appears to be the correct syntax.  You haven't said what's in your variable "groups".