Skip to content

Add BrainModule model, aka SimpleConv from Meta Brain&AI Team - #743

Merged
bruAristimunha merged 88 commits into
braindecode:masterfrom
bruAristimunha:meta-model
Dec 21, 2025
Merged

bruAristimunha merged 88 commits into
braindecode:masterfrom
bruAristimunha:meta-model

Conversation

@bruAristimunha

@bruAristimunha bruAristimunha commented Apr 29, 2025 •

Copy link
Copy Markdown
Collaborator

Introduce the SimpleConv model to enhance MEG model capabilities. Clean up code and improve naming conventions for better readability and maintainability.

@bruAristimunha bruAristimunha changed the title Add DeepRecurrentEncoder model and improve code organization [WIP] Add DeepRecurrentEncoder model and improve code organization Apr 29, 2025
@bruAristimunha
bruAristimunha requested a review from Copilot April 29, 2025 20:49

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new DeepRecurrentEncoder model to enhance EEG model capabilities while also improving code organization and naming conventions.

  • Added import for the DeepRecurrentEncoder model.
  • Enhanced overall code organization and naming conventions.
Files not reviewed (2)
  • docs/api.rst: Language not supported
  • docs/whats_new.rst: Language not supported
Comments suppressed due to low confidence (1)

braindecode/models/init.py:12

  • [nitpick] The module name 'deepmeg' does not clearly reflect the 'DeepRecurrentEncoder' model. Consider renaming the file or module to 'deeprecurrentencoder' for improved consistency.
from .deepmeg import DeepRecurrentEncoder

@codecov

codecov Bot commented Apr 29, 2025 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 83.67347% with 32 lines in your changes missing coverage. Please review.
✅ Project coverage is 87.44%. Comparing base (04dacb7) to head (35730fd).
⚠️ Report is 6 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master     #743      +/-   ##
==========================================
- Coverage   87.77%   87.44%   -0.34%     
==========================================
  Files         112      114       +2     
  Lines       10244    10681     +437     
==========================================
+ Hits         8992     9340     +348     
- Misses       1252     1341      +89     
🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@bruAristimunha

Copy link
Copy Markdown
Collaborator Author

.....

@bruAristimunha bruAristimunha changed the title Add SimpleConv model, aka DilatedConv from Meta Brain&AI Team Add BrainModule model, aka SimpleConv from Meta Brain&AI Team Dec 8, 2025
@bruAristimunha

Copy link
Copy Markdown
Collaborator Author

@hubertjb , can you please review? I will fill the docstring tomorrow. I deleted everything we had discussed in person.

@bruAristimunha

Copy link
Copy Markdown
Collaborator Author

@bruAristimunha bruAristimunha mentioned this pull request Dec 17, 2025

@hubertjb hubertjb left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just a few minor comments left, thanks @bruAristimunha !

Comment thread braindecode/models/simpleconv.py Resolved
Comment thread braindecode/models/simpleconv.py Resolved
Comment thread braindecode/models/simpleconv.py Resolved
Comment thread braindecode/models/simpleconv.py Resolved
Comment thread braindecode/models/simpleconv.py Resolved
Comment thread braindecode/models/brainmodule.py Resolved
Comment thread test/unit_tests/models/test_models.py Resolved
Comment thread test/unit_tests/models/test_models.py Resolved
Comment thread braindecode/models/brainmodule.py Resolved
Comment thread test/unit_tests/models/test_models.py Resolved
@bruAristimunha
bruAristimunha merged commit eb0328e into braindecode:master Dec 21, 2025
@bruAristimunha
bruAristimunha deleted the meta-model branch December 21, 2025 19:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants