<div dir="ltr"><div><div>Thanks Asish.<br><br>It&#39;s good overall. I added some corrections. <br><br></div>Hope that helps,<br><br></div>JR<br></div><div class="gmail_extra"><br><div class="gmail_quote">On 14 March 2016 at 03:38, Asish Panda <span dir="ltr">&lt;<a href="mailto:asishrocks95@gmail.com" target="_blank">asishrocks95@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Hello everyone<br><br>Thank you for explaining me the details. Based on that and the original idea I have drafted an initial proposal. Please give me your reviews and let me know if I am understanding your points correctly. You can check out the<div>project details section in the <a href="https://github.com/kaichogami/mne-python/wiki/GSoC-Proposal#project-detail" target="_blank">wiki page</a>.</div><div><br></div><div>Thank you<span class="HOEnZb"><font color="#888888"><br>Asish Panda</font></span></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Mar 11, 2016 at 6:06 AM, Phillip Alday <span dir="ltr">&lt;<a href="mailto:Phillip.Alday@unisa.edu.au" target="_blank">Phillip.Alday@unisa.edu.au</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi guys,<br>
<br>
PyMVPA might be a good place to look for inspiration and maybe integration: <a href="http://www.pymvpa.org/" rel="noreferrer" target="_blank">http://www.pymvpa.org/</a><br>
<br>
They have a really nice workflow and API.<br>
<br>
Best,<br>
Phillip<br>
<div><div><br>
<br>
&gt; On 11 Mar 2016, at 08:57, JR KING &lt;<a href="mailto:jeanremi.king@gmail.com" target="_blank">jeanremi.king@gmail.com</a>&gt; wrote:<br>
&gt;<br>
&gt; Hi Asish,<br>
&gt;<br>
&gt; As Denis said, the decoding module is one possible target. Just FYI, there are other possibilities too: e.g. across-subjects stats and viz isn&#39;t really well developed/documented.<br>
&gt;<br>
&gt; Currently the decoding classes have been developed separately, by different authors and with different architectures. IMO, one great goal would thus be to<br>
&gt;<br>
&gt; 1. (hard) homogenize the existing functions so that they all become strictly compatible with sklearn (i.e, based on BaseEstimator_, using fit, transform, predict and score methods).<br>
&gt;<br>
&gt; 2. (medium-hard): develop transformer objects that would ultimately allow the users to pipe multiple processing steps: e.g. we typically aim at getting:<br>
&gt; make_pipeline(TimeFreq(), InverseTransform(), DataVectorizer(), LogisticRegression())<br>
&gt; or<br>
&gt; make_pipeline(Filter(10, 30), Covariances(method=&#39;shrunk&#39;), Xdawn(n_components=4), TangentSpace(), SVM(kernel=&#39;linear&#39;))<br>
&gt;<br>
&gt; for which all the steps could be typically initialized with <a href="http://inst.info" rel="noreferrer" target="_blank">inst.info</a> and would take an X and a y to be fitted/predicted/scored.<br>
&gt;<br>
&gt; 3. (easy) Setup a systematic i/o to store the estimators, the predictions and the scores.<br>
&gt;<br>
&gt; As a concrete example, to optimize memory and CPU, the GAT currently stores the predictions (y_pred_) in the object, and the scoring approach is performed outside the CV. This storing and scoring isn&#39;t following sklearn API. Consequently, one cannot use cross_val_score(GAT). Typically refactoring this kind of feature requires some deep thinking because, unlike sklearn, several decoding module are applied in a &quot;mass multivariate&quot; way: i.e. many multivariate models are fitted on independent/partially common/or even identical data. Optimizing memory and CPU is thus probably the main challenge here.<br>
&gt;<br>
&gt; I would consequently start by tackling the easy/medium problem first (e.g. i/o in all decoding classes, vizualizing the fitted weights/patterns for each decoding method), and see how we can develop some transformers, such as EpochVectorizer, that would be common across decoding modules to format.<br>
&gt;<br>
&gt; Hope this helps,<br>
&gt;<br>
&gt;<br>
&gt; JR<br>
&gt;<br>
&gt;<br>
&gt; In summary, this project will involve a series of usability improvements for the decoding module and extend its functionality.<br>
&gt; I feel the above statement is quite vague for writing a detailed plan in the proposal. Or perhaps the &quot;improvements&quot; can only be known while the objectives(listed above) are being fulfilled?<br>
&gt; Lastly, going a little out of topic, could you now please elaborate on how to set up the cleaner framework of the decoding module, that you mentioned in the last message?<br>
&gt;<br>
&gt; Thank you<br>
&gt; Asish Panda<br>
&gt;<br>
&gt; On Fri, Feb 26, 2016 at 9:50 PM, Asish Panda &lt;<a href="mailto:asishrocks95@gmail.com" target="_blank">asishrocks95@gmail.com</a>&gt; wrote:<br>
&gt; Hello Jean<br>
&gt;<br>
&gt; Thank you very much for your response and the issues. I will get my hand dirty right away! :)<br>
&gt;<br>
&gt; Thank you<br>
&gt; Asish Panda<br>
&gt;<br>
&gt; On Fri, Feb 26, 2016 at 8:37 PM, JR KING &lt;<a href="mailto:jeanremi.king@gmail.com" target="_blank">jeanremi.king@gmail.com</a>&gt; wrote:<br>
&gt; Hi Asish,<br>
&gt;<br>
&gt; Thanks for your interest!.<br>
&gt;<br>
&gt; You can start with one of these easy PR:<br>
&gt; <a href="https://github.com/mne-tools/mne-python/issues/2874" rel="noreferrer" target="_blank">https://github.com/mne-tools/mne-python/issues/2874</a><br>
&gt; <a href="https://github.com/mne-tools/mne-python/issues/2176" rel="noreferrer" target="_blank">https://github.com/mne-tools/mne-python/issues/2176</a><br>
&gt; <a href="https://github.com/mne-tools/mne-python/issues/2189" rel="noreferrer" target="_blank">https://github.com/mne-tools/mne-python/issues/2189</a> (probably needs a bit of discussion)<br>
&gt;<br>
&gt; Once you&#39;re there I can suggest you some more fun things that you could do to set up a cleaner framework for the decoding module.<br>
&gt;<br>
&gt; All the best,<br>
&gt;<br>
&gt; Jean-RĂ©mi<br>
&gt;<br>
&gt; On 26 February 2016 at 09:57, Asish Panda &lt;<a href="mailto:asishrocks95@gmail.com" target="_blank">asishrocks95@gmail.com</a>&gt; wrote:<br>
&gt; Hello everyone,<br>
&gt;<br>
&gt; I am looking forward to participate in GSoC and I am interested in the idea of improving the decode module. I have installed and set up the development environment and have been trying to get familiar with various modules. However being quite new to MEG, EEG I&#39;m looking for some pointers to start as well as prerequisites to work on decode module.<br>
&gt; Lastly I apologize if I have been rude in any manner.<br>
&gt;<br>
&gt; Thank you<br>
&gt; Asish Panda<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
&gt; contains patient information, please contact the Partners Compliance HelpLine at<br>
&gt; <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>
&gt; but does not contain patient information, please contact the sender and properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
&gt; contains patient information, please contact the Partners Compliance HelpLine at<br>
&gt; <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>
&gt; but does not contain patient information, please contact the sender and properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
&gt; contains patient information, please contact the Partners Compliance HelpLine at<br>
&gt; <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>
&gt; but does not contain patient information, please contact the sender and properly<br>
&gt; dispose of the e-mail.<br>
&gt;<br>
&gt;<br>
&gt; _______________________________________________<br>
&gt; Mne_analysis mailing list<br>
&gt; <a href="mailto:Mne_analysis@nmr.mgh.harvard.edu" target="_blank">Mne_analysis@nmr.mgh.harvard.edu</a><br>
&gt; <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>
&gt;<br>
&gt;<br>
&gt; The information in this e-mail is intended only for the person to whom it is<br>
&gt; addressed. If you believe this e-mail was sent to you in error and the e-mail<br>
&gt; contains patient information, please contact the Partners Compliance HelpLine at<br>
&gt; <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>
&gt; but does not contain patient information, please contact the sender and properly<br>
&gt; dispose of the e-mail.<br>
<br>
</div></div><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>
<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>
<br></blockquote></div><br></div>
</div></div><br>_______________________________________________<br>
Mne_analysis mailing list<br>
<a href="mailto:Mne_analysis@nmr.mgh.harvard.edu">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>
<br></blockquote></div><br></div>