<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241967</link>
    <title>MATLAB Central Newsreader - NN Object Size - NN Toolbox V6.0 (R2008a)</title>
    <description>Feed for thread: NN Object Size - NN Toolbox V6.0 (R2008a)</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, 06 Jan 2009 19:37:02 -0500</pubDate>
      <title>NN Object Size - NN Toolbox V6.0 (R2008a)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241967#620143</link>
      <author>Farooq Azam</author>
      <description>Hello,&lt;br&gt;
Recently, while working on project that requires a relatively large training set, MATLAB kept on running out of memory. On further analysis, I noticed that the size of neural network object created with 'newff' command was abnormally large and it appears that it is due to the fact that NN object contains the input data set as one of its subobject structures.&lt;br&gt;
--&lt;br&gt;
&amp;nbsp;&amp;nbsp;predictive_model                         1x1                 69797369  network             &lt;br&gt;
&amp;nbsp;&amp;nbsp;training_input_data_set           50x170910            68364000  double &lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;gt;&amp;gt; predictive_model.inputs{1,1}&lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;ans = &lt;br&gt;
&amp;nbsp;&amp;nbsp;&lt;br&gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;exampleInput: [50x170910 double]&lt;br&gt;
-- &lt;br&gt;
Is there an option disable this feature of an NN object? This feature instead of helping to ease the burden of MATLAB memory utilization is becoming a contributing factor.&lt;br&gt;
&lt;br&gt;
Also, am I missing soemthing or 'plotroc' or 'roc' functions can not actually calculate area under the ROC curve?&lt;br&gt;
&lt;br&gt;
Thanks in advance for all the help.&lt;br&gt;
Farooq</description>
    </item>
    <item>
      <pubDate>Thu, 08 Jan 2009 16:08:55 -0500</pubDate>
      <title>Re: NN Object Size - NN Toolbox V6.0 (R2008a)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241967#620496</link>
      <author>Greg Heath</author>
      <description>On Jan 6, 2:37=A0pm, &quot;Farooq Azam&quot; &amp;lt;fa...@ieee.org&amp;gt; wrote:&lt;br&gt;
&amp;gt; Hello,&lt;br&gt;
&amp;gt; Recently, while working on project that requires a relatively large train=&lt;br&gt;
ing set, MATLAB kept on running out of memory. On further analysis, I notic=&lt;br&gt;
ed that the size ofneuralnetwork object created with 'newff' command was ab=&lt;br&gt;
normally large and it appears that it is due to the fact that NN object con=&lt;br&gt;
tains the input data set as one of its subobject structures.&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; =A0 predictive_model =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1x1 =&lt;br&gt;
=A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 69797369 =A0network =A0 =A0 =A0 =A0 =A0 =A0&lt;br&gt;
&amp;gt; =A0 training_input_data_set =A0 =A0 =A0 =A0 =A0 50x170910 =A0 =A0 =A0 =A0=&lt;br&gt;
&amp;nbsp;=A0 =A068364000 =A0double&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 &amp;gt;&amp;gt; predictive_model.inputs{1,1}&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 ans =3D&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; =A0 =A0 =A0 =A0exampleInput: [50x170910 double]&lt;br&gt;
&amp;gt; --&lt;br&gt;
&amp;gt; Is there an option disable this feature of an NN object? This feature ins=&lt;br&gt;
tead of helping to ease the burden of MATLAB memory utilization is becoming=&lt;br&gt;
&amp;nbsp;a contributing factor.&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Also, am I missing soemthing or 'plotroc' or 'roc' functions can not actu=&lt;br&gt;
ally calculate area under the ROC curve?&lt;br&gt;
&amp;gt;&lt;br&gt;
&amp;gt; Thanks in advance for all the help.&lt;br&gt;
&amp;gt; Farooq&lt;br&gt;
&lt;br&gt;
Not familiar with R2008 (e.g., PLOTROC,ROC,...).&lt;br&gt;
&lt;br&gt;
Perhaps the memory problems are with TRAINLM.&lt;br&gt;
For a fix;&lt;br&gt;
&lt;br&gt;
help train&lt;br&gt;
&lt;br&gt;
and see alternative strategies of increasing&lt;br&gt;
memory with LM training or sithching to CG&lt;br&gt;
&lt;br&gt;
Hope this helps.&lt;br&gt;
&lt;br&gt;
Greg</description>
    </item>
    <item>
      <pubDate>Mon, 12 Jan 2009 13:46:02 -0500</pubDate>
      <title>Re: NN Object Size - NN Toolbox V6.0 (R2008a)</title>
      <link>http://www.mathworks.com/matlabcentral/newsreader/view_thread/241967#621003</link>
      <author>Farooq Azam</author>
      <description>Dr. Greg,&lt;br&gt;
&lt;br&gt;
Thank you for your response. I did code scaled conjugate gradient method myself and now problem is resolved. &lt;br&gt;
&lt;br&gt;
Farooq&lt;br&gt;
&lt;br&gt;
Greg Heath &amp;lt;heath@alumni.brown.edu&amp;gt; wrote in message &amp;lt;ca2bd280-417b-45dc-98ed-bca9e0bcf279@z28g2000prd.googlegroups.com&amp;gt;...&lt;br&gt;
&amp;gt; On Jan 6, 2:37=A0pm, &quot;Farooq Azam&quot; &amp;lt;fa...@ieee.org&amp;gt; wrote:&lt;br&gt;
&amp;gt; &amp;gt; Hello,&lt;br&gt;
&amp;gt; &amp;gt; Recently, while working on project that requires a relatively large train=&lt;br&gt;
&amp;gt; ing set, MATLAB kept on running out of memory. On further analysis, I notic=&lt;br&gt;
&amp;gt; ed that the size ofneuralnetwork object created with 'newff' command was ab=&lt;br&gt;
&amp;gt; normally large and it appears that it is due to the fact that NN object con=&lt;br&gt;
&amp;gt; tains the input data set as one of its subobject structures.&lt;br&gt;
&amp;gt; &amp;gt; --&lt;br&gt;
&amp;gt; &amp;gt; =A0 predictive_model =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 1x1 =&lt;br&gt;
&amp;gt; =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 69797369 =A0network =A0 =A0 =A0 =A0 =A0 =A0&lt;br&gt;
&amp;gt; &amp;gt; =A0 training_input_data_set =A0 =A0 =A0 =A0 =A0 50x170910 =A0 =A0 =A0 =A0=&lt;br&gt;
&amp;gt;  =A0 =A068364000 =A0double&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; =A0 &amp;gt;&amp;gt; predictive_model.inputs{1,1}&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; =A0 ans =3D&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; =A0 =A0 =A0 =A0exampleInput: [50x170910 double]&lt;br&gt;
&amp;gt; &amp;gt; --&lt;br&gt;
&amp;gt; &amp;gt; Is there an option disable this feature of an NN object? This feature ins=&lt;br&gt;
&amp;gt; tead of helping to ease the burden of MATLAB memory utilization is becoming=&lt;br&gt;
&amp;gt;  a contributing factor.&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Also, am I missing soemthing or 'plotroc' or 'roc' functions can not actu=&lt;br&gt;
&amp;gt; ally calculate area under the ROC curve?&lt;br&gt;
&amp;gt; &amp;gt;&lt;br&gt;
&amp;gt; &amp;gt; Thanks in advance for all the help.&lt;br&gt;
&amp;gt; &amp;gt; Farooq&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Not familiar with R2008 (e.g., PLOTROC,ROC,...).&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Perhaps the memory problems are with TRAINLM.&lt;br&gt;
&amp;gt; For a fix;&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; help train&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; and see alternative strategies of increasing&lt;br&gt;
&amp;gt; memory with LM training or sithching to CG&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Hope this helps.&lt;br&gt;
&amp;gt; &lt;br&gt;
&amp;gt; Greg</description>
    </item>
  </channel>
</rss>

