Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
robintibor committed Nov 8, 2023
1 parent 6ebe535 commit 389810a
Show file tree
Hide file tree
Showing 59 changed files with 967 additions and 1,437 deletions.
2 changes: 1 addition & 1 deletion dev/.buildinfo
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# Sphinx build info version 1
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
config: 81ba3f48463b22ad476d0c7dfd4db395
config: 9ec5c1237f59370fcf4be3165728dd0a
tags: 645f666f9bcd5a90fca523b33c5a78b7
Binary file not shown.
Binary file not shown.
Binary file modified dev/_images/sphx_glr_plot_bcic_iv_2a_moabb_cropped_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 dev/_images/sphx_glr_plot_bcic_iv_2a_moabb_cropped_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 dev/_images/sphx_glr_plot_bcic_iv_2a_moabb_trial_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 dev/_images/sphx_glr_plot_bcic_iv_2a_moabb_trial_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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_002.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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_trial_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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_trial_002.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 dev/_images/sphx_glr_plot_bcic_iv_4_ecog_trial_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 dev/_images/sphx_glr_plot_benchmark_preprocessing_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 dev/_images/sphx_glr_plot_benchmark_preprocessing_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 dev/_images/sphx_glr_plot_regression_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 dev/_images/sphx_glr_plot_regression_002.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 dev/_images/sphx_glr_plot_regression_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 dev/_images/sphx_glr_plot_relative_positioning_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 dev/_images/sphx_glr_plot_relative_positioning_002.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 dev/_images/sphx_glr_plot_relative_positioning_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 dev/_images/sphx_glr_plot_sleep_staging_chambon2018_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 dev/_images/sphx_glr_plot_sleep_staging_chambon2018_002.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 dev/_images/sphx_glr_plot_sleep_staging_chambon2018_003.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 dev/_images/sphx_glr_plot_sleep_staging_chambon2018_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 dev/_images/sphx_glr_plot_sleep_staging_eldele2021_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 dev/_images/sphx_glr_plot_sleep_staging_eldele2021_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 dev/_images/sphx_glr_plot_sleep_staging_usleep_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 dev/_images/sphx_glr_plot_sleep_staging_usleep_thumb.png
Original file line number Diff line number Diff line change
Expand Up @@ -598,7 +598,7 @@ <h3>Preprocessing<a class="headerlink" href="#preprocessing" title="Link to this
<a href="../../generated/braindecode.preprocessing.preprocess.html#braindecode.preprocessing.preprocess" title="braindecode.preprocessing.preprocess" class="sphx-glr-backref-module-braindecode-preprocessing sphx-glr-backref-type-py-function"><span class="n">preprocess</span></a><span class="p">(</span><a href="../../generated/braindecode.datasets.BaseConcatDataset.html#braindecode.datasets.BaseConcatDataset" title="braindecode.datasets.BaseConcatDataset" class="sphx-glr-backref-module-braindecode-datasets sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">test_set</span></a><span class="p">,</span> <span class="p">[</span><a href="../../generated/braindecode.preprocessing.Preprocessor.html#braindecode.preprocessing.Preprocessor" title="braindecode.preprocessing.Preprocessor" class="sphx-glr-backref-module-braindecode-preprocessing sphx-glr-backref-type-py-class"><span class="n">Preprocessor</span></a><span class="p">(</span><span class="s1">&#39;crop&#39;</span><span class="p">,</span> <span class="n">tmin</span><span class="o">=</span><span class="mi">0</span><span class="p">,</span> <span class="n">tmax</span><span class="o">=</span><span class="mi">24</span><span class="p">)],</span> <span class="n">n_jobs</span><span class="o">=-</span><span class="mi">1</span><span class="p">)</span>
</pre></div>
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;braindecode.datasets.base.BaseConcatDataset object at 0x7fb4deea1cf0&gt;
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>&lt;braindecode.datasets.base.BaseConcatDataset object at 0x7faaa700b2b0&gt;
</pre></div>
</div>
<p>In time series targets setup, targets variables are stored in mne.Raw object as channels
Expand Down Expand Up @@ -823,14 +823,14 @@ <h2>Training<a class="headerlink" href="#training" title="Link to this heading">
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span> epoch r2_train r2_valid train_loss valid_loss lr dur
------- ---------- ---------- ------------ ------------ ------ ------
1 -16.9036 -8.3098 2.5378 20.7346 0.0006 0.8599
2 -13.7536 -7.1257 1.9596 18.0738 0.0006 0.6855
3 -12.7771 -6.7413 1.6787 17.1884 0.0005 0.7156
4 -11.7976 -6.3917 1.5638 16.4413 0.0004 0.7187
5 -11.2720 -6.1845 1.4237 16.0095 0.0002 0.7213
6 -10.5744 -5.9208 1.3549 15.4433 0.0001 0.7167
7 -9.8236 -5.6185 1.3132 14.7797 0.0000 0.7162
8 -9.0650 -5.3051 1.3316 14.0882 0.0000 0.6795
1 -16.9037 -8.3086 2.5378 20.7324 0.0006 0.4728
2 -13.7539 -7.1244 1.9596 18.0720 0.0006 0.4267
3 -12.7768 -6.7402 1.6787 17.1870 0.0005 0.4049
4 -11.7970 -6.3910 1.5638 16.4409 0.0004 0.4090
5 -11.2712 -6.1840 1.4237 16.0095 0.0002 0.4539
6 -10.5735 -5.9203 1.3549 15.4436 0.0001 0.4138
7 -9.8228 -5.6181 1.3132 14.7799 0.0000 0.4029
8 -9.0643 -5.3047 1.3316 14.0884 0.0000 0.4135
</pre></div>
</div>
<p>Obtaining predictions and targets for the test, train, and validation dataset</p>
Expand Down Expand Up @@ -940,8 +940,8 @@ <h2>Plot Results<a class="headerlink" href="#plot-results" title="Link to this h
<a href="https://matplotlib.org/stable/api/_as_gen/matplotlib.pyplot.tight_layout.html#matplotlib.pyplot.tight_layout" title="matplotlib.pyplot.tight_layout" 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">tight_layout</span></a><span class="p">()</span>
</pre></div>
</div>
<img src="../../_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_002.png" srcset="../../_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_002.png" alt="plot bcic iv 4 ecog cropped" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (1 minutes 0.056 seconds)</p>
<p><strong>Estimated memory usage:</strong> 845 MB</p>
<img src="../../_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_002.png" srcset="../../_images/sphx_glr_plot_bcic_iv_4_ecog_cropped_002.png" alt="plot bcic iv 4 ecog cropped" class = "sphx-glr-single-img"/><p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 58.587 seconds)</p>
<p><strong>Estimated memory usage:</strong> 677 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-training-plot-bcic-iv-4-ecog-cropped-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/c494db8fb7ce5921127c670340744634/plot_bcic_iv_4_ecog_cropped.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_bcic_iv_4_ecog_cropped.py</span></code></a></p>
Expand Down
14 changes: 7 additions & 7 deletions dev/auto_examples/advanced_training/plot_data_augmentation.html
Original file line number Diff line number Diff line change
Expand Up @@ -589,7 +589,7 @@ <h3><a class="toc-backref" href="#id3" role="doc-backlink">Preprocessing</a><a c
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>/home/runner/work/braindecode/braindecode/braindecode/preprocessing/preprocess.py:56: UserWarning: Preprocessing choices with lambda functions cannot be saved.
warn(&#39;Preprocessing choices with lambda functions cannot be saved.&#39;)

&lt;braindecode.datasets.moabb.MOABBDataset object at 0x7fb4c3becee0&gt;
&lt;braindecode.datasets.moabb.MOABBDataset object at 0x7faaa7070ac0&gt;
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -784,10 +784,10 @@ <h3><a class="toc-backref" href="#id10" role="doc-backlink">Create an EEGClassif
</div>
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span> epoch train_accuracy train_loss valid_acc valid_accuracy valid_loss lr dur
------- ---------------- ------------ ----------- ---------------- ------------ ------ ------
1 0.2500 1.6077 0.2500 0.2500 3.0178 0.0006 3.0161
2 0.2569 1.3809 0.2569 0.2569 2.1896 0.0005 2.6188
3 0.3021 1.2767 0.2569 0.2569 1.7959 0.0002 2.6951
4 0.3229 1.1763 0.2674 0.2674 1.6416 0.0000 2.6257
1 0.2500 1.6077 0.2500 0.2500 3.0179 0.0006 1.7614
2 0.2569 1.3809 0.2569 0.2569 2.1898 0.0005 1.5510
3 0.3021 1.2767 0.2604 0.2604 1.7960 0.0002 1.5831
4 0.3229 1.1763 0.2674 0.2674 1.6417 0.0000 1.5343

&lt;class &#39;braindecode.classifier.EEGClassifier&#39;&gt;[initialized](
module_=============================================================================================================================================
Expand Down Expand Up @@ -841,8 +841,8 @@ <h3><a class="toc-backref" href="#id12" role="doc-backlink">Setting the data aug
<div class="highlight-default notranslate"><div class="highlight"><pre><span></span><a href="../../generated/braindecode.datasets.BaseConcatDataset.html#braindecode.datasets.BaseConcatDataset" title="braindecode.datasets.BaseConcatDataset" class="sphx-glr-backref-module-braindecode-datasets sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">train_set</span></a><span class="o">.</span><a href="../../generated/braindecode.augmentation.FrequencyShift.html#braindecode.augmentation.FrequencyShift" title="braindecode.augmentation.FrequencyShift" class="sphx-glr-backref-module-braindecode-augmentation sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">transform</span></a> <span class="o">=</span> <a href="../../generated/braindecode.augmentation.Compose.html#braindecode.augmentation.Compose" title="braindecode.augmentation.Compose" class="sphx-glr-backref-module-braindecode-augmentation sphx-glr-backref-type-py-class sphx-glr-backref-instance"><span class="n">composed_transforms</span></a>
</pre></div>
</div>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 23.931 seconds)</p>
<p><strong>Estimated memory usage:</strong> 396 MB</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 16.459 seconds)</p>
<p><strong>Estimated memory usage:</strong> 506 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-training-plot-data-augmentation-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/e3845395de44913c970dbf26671a7cba/plot_data_augmentation.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_data_augmentation.py</span></code></a></p>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -610,7 +610,7 @@ <h3><a class="toc-backref" href="#id10" role="doc-backlink">Preprocessing</a><a
<div class="sphx-glr-script-out highlight-none notranslate"><div class="highlight"><pre><span></span>/home/runner/work/braindecode/braindecode/braindecode/preprocessing/preprocess.py:56: UserWarning: Preprocessing choices with lambda functions cannot be saved.
warn(&#39;Preprocessing choices with lambda functions cannot be saved.&#39;)

&lt;braindecode.datasets.moabb.MOABBDataset object at 0x7fb4def51570&gt;
&lt;braindecode.datasets.moabb.MOABBDataset object at 0x7faaa703a230&gt;
</pre></div>
</div>
</section>
Expand Down Expand Up @@ -960,8 +960,8 @@ <h3><a class="toc-backref" href="#id19" role="doc-backlink">References</a><a cla
Journal of Neural Engineering, 18(4), 046020.</p>
</aside>
</aside>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 57.223 seconds)</p>
<p><strong>Estimated memory usage:</strong> 49 MB</p>
<p class="sphx-glr-timing"><strong>Total running time of the script:</strong> (0 minutes 32.229 seconds)</p>
<p><strong>Estimated memory usage:</strong> 503 MB</p>
<div class="sphx-glr-footer sphx-glr-footer-example docutils container" id="sphx-glr-download-auto-examples-advanced-training-plot-data-augmentation-search-py">
<div class="sphx-glr-download sphx-glr-download-python docutils container">
<p><a class="reference download internal" download="" href="../../_downloads/0f763ae384277e558103757157e170fb/plot_data_augmentation_search.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_data_augmentation_search.py</span></code></a></p>
Expand Down
Loading

0 comments on commit 389810a

Please sign in to comment.