Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
PierreGtch committed Apr 10, 2024
1 parent 6d3044f commit 555369f
Show file tree
Hide file tree
Showing 51 changed files with 960 additions and 947 deletions.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file modified docs/_images/sphx_glr_plot_benchmark_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_benchmark_DL_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_benchmark_DL_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_benchmark_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_cross_session_motor_imagery_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_cross_session_motor_imagery_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_motor_imagery_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_motor_imagery_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_p300_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_p300_external_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_p300_external_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_learning_curve_p300_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_within_session_p300_001.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_within_session_p300_thumb.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file modified docs/_images/sphx_glr_plot_within_session_ssvep_002.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ <h2>Evaluation<a class="headerlink" href="#evaluation" title="Permalink to this
&#39;right_hand&#39;: 12&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-001-CrossSession: 50%|##### | 1/2 [00:05&lt;00:05, 5.65s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 24 events (all good), 2 – 6 s, baseline off, ~4.1 MB, data loaded,
BNCI2014-001-CrossSession: 50%|##### | 1/2 [00:05&lt;00:05, 5.54s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 24 events (all good), 2 – 6 s, baseline off, ~4.1 MB, data loaded,
&#39;left_hand&#39;: 12
&#39;right_hand&#39;: 12&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand Down Expand Up @@ -878,8 +878,8 @@ <h2>Evaluation<a class="headerlink" href="#evaluation" title="Permalink to this
&#39;right_hand&#39;: 12&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-001-CrossSession: 100%|##########| 2/2 [00:11&lt;00:00, 5.68s/it]
BNCI2014-001-CrossSession: 100%|##########| 2/2 [00:11&lt;00:00, 5.68s/it]
BNCI2014-001-CrossSession: 100%|##########| 2/2 [00:10&lt;00:00, 5.48s/it]
BNCI2014-001-CrossSession: 100%|##########| 2/2 [00:10&lt;00:00, 5.49s/it]
</pre></div>
</div>
<p>After processing the two, we simply concatenate the results.</p>
Expand Down Expand Up @@ -924,8 +924,8 @@ <h2>Plot Results<a class="headerlink" href="#plot-results" title="Permalink to t
<a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.show.html#matplotlib.pyplot.show" title="matplotlib.pyplot.show" class="sphx-glr-backref-module-matplotlib-pyplot sphx-glr-backref-type-py-function"><span class="n">plt</span><span class="o">.</span><span class="n">show</span></a><span class="p">()</span>
</pre></div>
</div>
<img src="../../_images/sphx_glr_plot_filterbank_csp_vs_csp_001.png" srcset="../../_images/sphx_glr_plot_filterbank_csp_vs_csp_001.png" alt="plot filterbank csp vs csp" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 13.411 seconds)</p>
<p><strong>Estimated memory usage:</strong> 432 MB</p>
<img src="../../_images/sphx_glr_plot_filterbank_csp_vs_csp_001.png" srcset="../../_images/sphx_glr_plot_filterbank_csp_vs_csp_001.png" alt="plot filterbank csp vs csp" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 12.954 seconds)</p>
<p><strong>Estimated memory usage:</strong> 413 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-examples-plot-filterbank-csp-vs-csp-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/4c45605b7f9e2012cf86c10fa0f2ed72/plot_filterbank_csp_vs_csp.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_filterbank_csp_vs_csp.py</span></code></a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -762,8 +762,8 @@ <h2>Running the Evaluation<a class="headerlink" href="#running-the-evaluation" t
&#39;left_hand&#39;: 12&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-001-WithinSession: 100%|##########| 1/1 [00:10&lt;00:00, 10.79s/it]
BNCI2014-001-WithinSession: 100%|##########| 1/1 [00:10&lt;00:00, 10.79s/it]
BNCI2014-001-WithinSession: 100%|##########| 1/1 [00:10&lt;00:00, 10.86s/it]
BNCI2014-001-WithinSession: 100%|##########| 1/1 [00:10&lt;00:00, 10.86s/it]
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -837,8 +837,8 @@ <h2>Load Best Model Parameter<a class="headerlink" href="#load-best-model-parame
Best Parameter l1_ratio Session_T VanillaEN: 0.75
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 13.047 seconds)</p>
<p><strong>Estimated memory usage:</strong> 313 MB</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 13.069 seconds)</p>
<p><strong>Estimated memory usage:</strong> 276 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-examples-plot-grid-search-withinsession-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/b298e4b36adf2bb5cb6f65682eec852f/plot_grid_search_withinsession.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_grid_search_withinsession.py</span></code></a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -757,7 +757,7 @@ <h2>A Simple MNE Pipeline<a class="headerlink" href="#a-simple-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:03&lt;00:06, 3.12s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:03&lt;00:06, 3.10s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand All @@ -770,42 +770,38 @@ <h2>A Simple MNE Pipeline<a class="headerlink" href="#a-simple-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:06&lt;00:03, 3.00s/it]/home/runner/work/moabb/moabb/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host &#39;lampx.tugraz.at&#39;. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:06&lt;00:02, 2.99s/it]/home/runner/work/moabb/moabb/.venv/lib/python3.9/site-packages/urllib3/connectionpool.py:1061: InsecureRequestWarning: Unverified HTTPS request is being made to host &#39;lampx.tugraz.at&#39;. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.io/en/1.26.x/advanced-usage.html#ssl-warnings
warnings.warn(


0%| | 0.00/18.5M [00:00&lt;?, ?B/s]

0%| | 8.19k/18.5M [00:00&lt;04:26, 69.6kB/s]
0%| | 8.19k/18.5M [00:00&lt;04:25, 69.9kB/s]

0%| | 32.8k/18.5M [00:00&lt;02:02, 150kB/s]
0%| | 32.8k/18.5M [00:00&lt;02:02, 151kB/s]

1%|▏ | 96.3k/18.5M [00:00&lt;00:56, 325kB/s]
1%|▏ | 96.3k/18.5M [00:00&lt;00:56, 326kB/s]

1%|▍ | 201k/18.5M [00:00&lt;00:33, 544kB/s]
1%|▍ | 209k/18.5M [00:00&lt;00:32, 572kB/s]

2%| | 424k/18.5M [00:00&lt;00:17, 1.02MB/s]
2%| | 432k/18.5M [00:00&lt;00:17, 1.04MB/s]

5%|█▊ | 864k/18.5M [00:00&lt;00:09, 1.93MB/s]
5%|█▊ | 889k/18.5M [00:00&lt;00:08, 1.99MB/s]

9%|███ | 1.75M/18.5M [00:00&lt;00:04, 3.74MB/s]
10%|███ | 1.80M/18.5M [00:00&lt;00:04, 3.85MB/s]

19%|███████ | 3.54M/18.5M [00:00&lt;00:02, 7.32MB/s]
20%|███████ | 3.62M/18.5M [00:00&lt;00:01, 7.51MB/s]

32%|███████████ | 5.86M/18.5M [00:01&lt;00:01, 11.1MB/s]
36%|█████████████▍ | 6.74M/18.5M [00:01&lt;00:00, 13.3MB/s]

43%|███████████████ | 7.93M/18.5M [00:01&lt;00:00, 13.1MB/s]
53%|███████████████████▌ | 9.81M/18.5M [00:01&lt;00:00, 17.2MB/s]

55%|████████████████████ | 10.2M/18.5M [00:01&lt;00:00, 15.0MB/s]
68%|█████████████████████████ | 12.6M/18.5M [00:01&lt;00:00, 19.0MB/s]

67%|████████████████████████▋ | 12.3M/18.5M [00:01&lt;00:00, 15.8MB/s]

79%|█████████████████████████████▎ | 14.6M/18.5M [00:01&lt;00:00, 16.9MB/s]

90%|█████████████████████████████████▍ | 16.8M/18.5M [00:01&lt;00:00, 17.1MB/s]
84%|██████████████████████████████▉ | 15.5M/18.5M [00:01&lt;00:00, 20.6MB/s]

0%| | 0.00/18.5M [00:00&lt;?, ?B/s]
100%|█████████████████████████████████████| 18.5M/18.5M [00:00&lt;00:00, 51.3GB/s]
100%|█████████████████████████████████████| 18.5M/18.5M [00:00&lt;00:00, 51.9GB/s]
/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
Expand All @@ -819,8 +815,8 @@ <h2>A Simple MNE Pipeline<a class="headerlink" href="#a-simple-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:12&lt;00:00, 4.58s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:12&lt;00:00, 4.17s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:12&lt;00:00, 4.50s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:12&lt;00:00, 4.11s/it]
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -862,7 +858,7 @@ <h2>Advanced MNE Pipeline<a class="headerlink" href="#advanced-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:03&lt;00:06, 3.44s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:03&lt;00:07, 3.53s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand All @@ -875,7 +871,7 @@ <h2>Advanced MNE Pipeline<a class="headerlink" href="#advanced-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:06&lt;00:02, 2.99s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:06&lt;00:03, 3.03s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand All @@ -888,8 +884,8 @@ <h2>Advanced MNE Pipeline<a class="headerlink" href="#advanced-mne-pipeline" tit
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:10&lt;00:00, 3.51s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:10&lt;00:00, 3.42s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:10&lt;00:00, 3.55s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:10&lt;00:00, 3.46s/it]
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -926,7 +922,7 @@ <h2>Numpy-based Pipeline<a class="headerlink" href="#numpy-based-pipeline" title
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:07&lt;00:14, 7.10s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
BNCI2014-009-CrossSession: 33%|###3 | 1/3 [00:06&lt;00:13, 6.98s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand All @@ -939,7 +935,7 @@ <h2>Numpy-based Pipeline<a class="headerlink" href="#numpy-based-pipeline" title
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:13&lt;00:06, 6.90s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
BNCI2014-009-CrossSession: 67%|######6 | 2/3 [00:13&lt;00:06, 6.86s/it]/home/runner/work/moabb/moabb/moabb/datasets/preprocessing.py:273: UserWarning: warnEpochs &lt;Epochs | 576 events (all good), 0 – 0.800781 s, baseline off, ~14.5 MB, data loaded,
&#39;Target&#39;: 96
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)
Expand All @@ -952,8 +948,8 @@ <h2>Numpy-based Pipeline<a class="headerlink" href="#numpy-based-pipeline" title
&#39;NonTarget&#39;: 480&gt;
warn(f&quot;warnEpochs {epochs}&quot;)

BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:20&lt;00:00, 6.92s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:20&lt;00:00, 6.93s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:20&lt;00:00, 6.80s/it]
BNCI2014-009-CrossSession: 100%|##########| 3/3 [00:20&lt;00:00, 6.83s/it]
</pre></div>
</div>
</section>
Expand All @@ -980,8 +976,8 @@ <h2>Combining Results<a class="headerlink" href="#combining-results" title="Perm
<a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.show.html#matplotlib.pyplot.show" title="matplotlib.pyplot.show" class="sphx-glr-backref-module-matplotlib-pyplot sphx-glr-backref-type-py-function"><span class="n">plt</span><span class="o">.</span><span class="n">show</span></a><span class="p">()</span>
</pre></div>
</div>
<img src="../../_images/sphx_glr_plot_mne_and_scikit_estimators_002.png" srcset="../../_images/sphx_glr_plot_mne_and_scikit_estimators_002.png" alt="Algorithm comparison" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 47.717 seconds)</p>
<p><strong>Estimated memory usage:</strong> 328 MB</p>
<img src="../../_images/sphx_glr_plot_mne_and_scikit_estimators_002.png" srcset="../../_images/sphx_glr_plot_mne_and_scikit_estimators_002.png" alt="Algorithm comparison" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> ( 0 minutes 47.392 seconds)</p>
<p><strong>Estimated memory usage:</strong> 322 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-examples-plot-mne-and-scikit-estimators-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/3bb6d35e266c94de44c44ec75aa9d550/plot_mne_and_scikit_estimators.py"><code class="xref download docutils literal notranslate"><span class="pre">Download</span> <span class="pre">Python</span> <span class="pre">source</span> <span class="pre">code:</span> <span class="pre">plot_mne_and_scikit_estimators.py</span></code></a></p>
Expand Down
Loading

0 comments on commit 555369f

Please sign in to comment.