Skip to content

Banded Ridge TRFs#222

Merged
vinaysraghavan merged 64 commits into
mainfrom
banded_ridge
Mar 9, 2026
Merged

Banded Ridge TRFs#222
vinaysraghavan merged 64 commits into
mainfrom
banded_ridge

Conversation

@vinaysraghavan

Copy link
Copy Markdown
Collaborator

Reference Issues/PRs

What does this implement/fix? Explain your changes.

Adds BandedTRF class for modeling features using TRFs trained with banded ridge regression.
Includes examples showing 1. That banded regularization outperforms standard TRFs by determining regularization separately for each feature and 2. BandedTRFs are dependent on the order of features used

Any other comments?

@vinaysraghavan vinaysraghavan marked this pull request as ready for review February 25, 2026 00:26
Comment thread docs/references/encoding.rst Outdated
vinaysraghavan and others added 3 commits February 25, 2026 13:53

@gavinmischler gavinmischler 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.

Sorry, last things I didn't realize before, otherwise I think it's ready!

Comment thread naplib/encoding/banded_trf.py Outdated
Comment thread naplib/encoding/banded_trf.py Outdated
Comment thread naplib/encoding/banded_trf.py

@gavinmischler gavinmischler 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.

Looks good!

@vinaysraghavan vinaysraghavan merged commit 1fa9392 into main Mar 9, 2026
4 checks passed
@vinaysraghavan vinaysraghavan deleted the banded_ridge branch June 18, 2026 17:54
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.

2 participants