<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
</head>
<body>
<style type="text/css" style="display:none;"><!-- P {margin-top:0;margin-bottom:0;} --></style>
<div id="divtagdefaultwrapper" style="font-size:12pt;color:#000000;font-family:Calibri,Helvetica,sans-serif;" dir="ltr">
<p>Hi <span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;">Narendra,</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;"><br>
</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;">That error message doesn't tell you much, as it is always reported the first time the 'state' flag is passed to the random family of functions
 and just serves as a reminder to warn people before they axe the functionality for real.</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;"><br>
</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;">The more telling message is the "Lowering learning rate to X and starting again". This can indicate that the function is having a hard time
 trying to even start, and is usually associated with problems in the data. While I'm not sure exactly what it means (poor data quality maybe?), I found that the only way to avoid it is through preprocessing. Downsample the data to something like 250Hz if you
 have a much higher sampling frequency, or try different filter settings. Makoto's preprocessing suggestions can really help here (look it up on the wiki).</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;"><br>
</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;">Best,</span></p>
<p><span style="color: rgb(33, 33, 33); font-family: arial, helvetica, sans-serif, serif, EmojiFont; font-size: 15px;">Julian</span></p>
</div>
<hr style="display:inline-block;width:98%" tabindex="-1">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt" color="#000000"><b>From:</b> eeglablist <eeglablist-bounces@sccn.ucsd.edu> on behalf of Narendra Kumar <narendra.linguistics@gmail.com><br>
<b>Sent:</b> Saturday, August 26, 2017 7:53:04 AM<br>
<b>To:</b> eeglablist@sccn.ucsd.edu<br>
<b>Subject:</b> Re: [Eeglablist] Regarding slow ICA</font>
<div> </div>
</div>
<div>
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I observed the differences between the two in command window as follows:</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">When files run in 3-3.5 hrs</div>
<div class="gmail_default">
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">Beginning ICA training ... first training step may be slow ...</font><br>
</div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">step 1 - lrate 0.00100 wchange ***** angledelta 0.0 deg</font></div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">step 2 - ......</font></div>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br>
</font></div>
</blockquote>
<font face="arial, helvetica, sans-serif">When files take more than 20 hours </font></div>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">
<div class="gmail_default">Beginning ICA training ... first training step may be slow ...</div>
<div class="gmail_default"><font color="#ff0000">Warning: Using 'state' to set RAND's internal state causes RAND, RANDI, and RANDN to use legacy random number generators.  This syntax will be</font></div>
<div class="gmail_default"><font color="#ff0000">removed in a future release.  See Updating Your Random Number Generator Syntax to use RNG to replace the old syntax. </font></div>
<div class="gmail_default"><font color="#ff0000">> In runica at 830</font></div>
<div class="gmail_default"><font color="#ff0000">  In pop_runica at 419</font></div>
<div class="gmail_default"><font color="#ff0000">  In preprocessing_1_30 at 131 </font></div>
<div class="gmail_default">Lowering learning rate to 0.0009 and starting again.</div>
</font></div>
</blockquote>
<blockquote style="margin:0px 0px 0px 40px;border:none;padding:0px">
<div class="gmail_default"><font face="arial, helvetica, sans-serif">
<div class="gmail_default">Lowering  learning rate to .....</div>
<div class="gmail_default"><br>
</div>
</font></div>
</blockquote>
<font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">
​I think the error can tell about it in a better way.</div>
</font>
<div><font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">
<br>
</div>
</font></div>
<div><font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">
Regards,</div>
</font></div>
<div><font face="arial, helvetica, sans-serif">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif;display:inline">
Narendra​</div>
<br>
</font>
<div class="gmail_default"><font face="arial, helvetica, sans-serif"><br>
</font></div>
</div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Aug 26, 2017 at 8:14 PM, Narendra Kumar <span dir="ltr">
<<a href="mailto:narendra.linguistics@gmail.com" target="_blank">narendra.linguistics@gmail.<wbr>com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr">
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Dear EEGLAB List users,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">I run ICA on 25 subjects data using script for multiple subjects data (pop_runica(EEG, 'extended', 1, 'interupt', 'off')). Till 13 subjects, it took 3.5 hours for each data file, but
 after then the next data file has been running for last more than 20 hours. </div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Kindly tell me the reason for this and suggest a solution ? I'll be thankful to you for this.</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif"><br>
</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Regards,</div>
<div class="gmail_default" style="font-family:arial,helvetica,sans-serif">Narendra</div>
<div><br>
</div>
</div>
</blockquote>
</div>
</div>
</div>
</div>
</body>
</html>