<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=koi8-r">
<style type="text/css" style="display:none;"> P {margin-top:0;margin-bottom:0;} </style>
</head>
<body dir="ltr"><p><span style="padding: 3px 10px; border-radius: 5px; color: #ffffff; font-weight: bold; display: inline-block; background-color: #ff0000;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p><p></p>
<div style="font-family: Calibri, Helvetica, sans-serif; font-size: 12pt; color: rgb(0, 0, 0);">
I did reshape because it's in example, if it's too heavy I should refuse this conversion?<br>
</div>
<div id="appendonsend"></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>От:</b> mne_analysis-bounces@nmr.mgh.harvard.edu &lt;mne_analysis-bounces@nmr.mgh.harvard.edu&gt; от имени JR KING &lt;jeanremi.king@gmail.com&gt;<br>
<b>Отправлено:</b> 7 февраля 2019 г. 16:03<br>
<b>Кому:</b> Discussion and support forum for the users of MNE Software<br>
<b>Тема:</b> Re: [Mne_analysis] Linear classifier on sensor data with plot patterns and filters</font>
<div>&nbsp;</div>
</div>
<div>
<p><span style="padding:3px 10px; border-radius:5px; color:#ffffff; font-weight:bold; display:inline-block; background-color:#ff0000">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;External Email - Use Caution&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</span></p>
<p></p>
<div dir="ltr">
<div>I think it s because you reshape your meg data (n_trials, n_sensors, n_times) into a matrix (n_trials, n_sensors * n_times)</div>
<div><br>
</div>
<div></div>
<div>meg_data = meg_epochs.get_data().reshape(len(labels), -1)</div>
<div><br>
</div>
<div>The covariance of this matrix will be pretty heavy.</div>
<div><br>
</div>
<div>JR<br>
</div>
<div><br>
</div>
</div>
<br>
<div class="x_gmail_quote">
<div dir="ltr" class="x_gmail_attr">On Thu, 7 Feb 2019 at 09:57, Alexandre Gramfort &lt;<a href="mailto:alexandre.gramfort@inria.fr">alexandre.gramfort@inria.fr</a>&gt; wrote:<br>
</div>
<blockquote class="x_gmail_quote" style="margin:0px 0px 0px 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
&nbsp; &nbsp; &nbsp; &nbsp; External Email - Use Caution&nbsp; &nbsp; &nbsp; &nbsp; <br>
<br>
I cannot guess.<br>
<br>
I need to know the size of the new data.<br>
<br>
Alex<br>
<br>
_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
<a href="https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis" rel="noreferrer" target="_blank">https://mail.nmr.mgh.harvard.edu/mailman/listinfo/mne_analysis</a><br>
</blockquote>
</div>
</div>
</body>
</html>