<div dir="ltr">Hi, <div><br></div><div>This is because your data are rank deficient. you should add regularization to avoid this error.</div><div>you can set the parameter reg=&#39;oas&#39; of the CSP, and it should works.</div><div><br></div><div>Alex</div></div><br><div class="gmail_quote"><div dir="ltr">On Sun, Jun 18, 2017 at 1:30 PM Aditya P Singh &lt;<a href="mailto:adityasingh@utexas.edu">adityasingh@utexas.edu</a>&gt; wrote:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hi,<div><br></div><div>When I try to run the CSP classifier on my data, I come up with an error saying</div><div><br></div><div> LinAlgError: the leading minor of order 105 of &#39;b&#39; is not positive definite. The factorization of &#39;b&#39; could not be completed and no eigenvalues or eigenvectors were computed.</div><div><br></div><div>I was wondering what might be the error that is causing this, and how I could fix this.</div><div><br></div><div>Thanks,</div><div>Aditya Singh</div><div>Biomedical Engineer</div><div>UT Austin</div></div>
_______________________________________________<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>
<br>
<br>
The information in this e-mail is intended only for the person to whom it is<br>
addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
contains patient information, please contact the Partners Compliance HelpLine at<br>
<a href="http://www.partners.org/complianceline" rel="noreferrer" target="_blank">http://www.partners.org/complianceline</a> . If the e-mail was sent to you in error<br>
but does not contain patient information, please contact the sender and properly<br>
dispose of the e-mail.<br>
</blockquote></div>