Path: news.mathworks.com!newsfeed-00.mathworks.com!newsfeed2.dallas1.level3.net!news.level3.com!postnews.google.com!z28g2000prd.googlegroups.com!not-for-mail
From: Greg Heath <heath@alumni.brown.edu>
Newsgroups: comp.soft-sys.matlab
Subject: Re: NN Object Size - NN Toolbox V6.0 (R2008a)
Date: Thu, 8 Jan 2009 08:08:55 -0800 (PST)
Organization: http://groups.google.com
Lines: 42
Message-ID: <ca2bd280-417b-45dc-98ed-bca9e0bcf279@z28g2000prd.googlegroups.com>
References: <gk0bsu$l7l$1@fred.mathworks.com>
NNTP-Posting-Host: 68.39.98.10
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable
X-Trace: posting.google.com 1231430935 14784 127.0.0.1 (8 Jan 2009 16:08:55 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Thu, 8 Jan 2009 16:08:55 +0000 (UTC)
Complaints-To: groups-abuse@google.com
Injection-Info: z28g2000prd.googlegroups.com; posting-host=68.39.98.10; 
	posting-account=mUealwkAAACvQrLWvunjg50tRAnsNtJR
User-Agent: G2/1.0
X-HTTP-UserAgent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 5.1; GTB5; 
	Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1; SV1) ; .NET CLR 1.1.4322; 
	.NET CLR 2.0.50727; .NET CLR 3.0.04506.30; Seekmo 10.0.341.0),gzip(gfe),gzip(gfe)
Xref: news.mathworks.com comp.soft-sys.matlab:510448


On Jan 6, 2:37=A0pm, "Farooq Azam" <fa...@ieee.org> wrote:
> Hello,
> Recently, while working on project that requires a relatively large train=
ing set, MATLAB kept on running out of memory. On further analysis, I notic=
ed that the size ofneuralnetwork object created with 'newff' command was ab=
normally large and it appears that it is due to the fact that NN object con=
tains the input data set as one of its subobject structures.
> --
> =A0 predictive_model =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1x1 =
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 69797369 =A0network =A0 =A0 =A0 =A0 =A0 =A0
> =A0 training_input_data_set =A0 =A0 =A0 =A0 =A0 50x170910 =A0 =A0 =A0 =A0=
 =A0 =A068364000 =A0double
>
> =A0 >> predictive_model.inputs{1,1}
>
> =A0 ans =3D
>
> =A0 =A0 =A0 =A0exampleInput: [50x170910 double]
> --
> Is there an option disable this feature of an NN object? This feature ins=
tead of helping to ease the burden of MATLAB memory utilization is becoming=
 a contributing factor.
>
> Also, am I missing soemthing or 'plotroc' or 'roc' functions can not actu=
ally calculate area under the ROC curve?
>
> Thanks in advance for all the help.
> Farooq

Not familiar with R2008 (e.g., PLOTROC,ROC,...).

Perhaps the memory problems are with TRAINLM.
For a fix;

help train

and see alternative strategies of increasing
memory with LM training or sithching to CG

Hope this helps.

Greg