NeuroDecKit: A Comprehensive MI-EEG Decoding Toolbox
NeuroDecKit is a modular and extensible MATLAB toolbox for Motor Imagery Electroencephalography (MI-EEG) decoding, featuring comprehensive algorithm integration and flexible pipeline construction capabilities.
🚀 Key Features
Comprehensive Algorithm Ecosystem
NeuroDecKit systematically integrates algorithms across nine functional components:
| Module | Methods Count | Representative Algorithms |
|---|---|---|
| Spectral Filtering | 2 | Butterworth, Chebyshev |
| Channel Selection | 3 | Correlation-based, CSP weights, Riemannian distance |
| Spatial Filtering | 3 | CSP, RSF, Laplace |
| Data Alignment | 4 | EA, RA, RPA, None |
| Feature Extraction | 8 | CSP, CSSP, RCSP, DSP, MDM, FgMDM, TSM, CTSSP |
| Feature Selection | 6 | ANOVA, MIC, PCA, LASSO, RFE, None |
| Feature Alignment | 5 | Z-score, MMD, MEKT, MEFA, None |
| Classification | 7 | LDA, SVM, LR, KNN, DTC, GNB, MLP |
| End-to-End Models | 5 | SBLEST, RKNN, RKSVM, TRCA, DCPM |
| Deep Learning | 11 | sCNN, dCNN, FBCNet, EEGNet, Tensor-CSPNet, Graph-CSPNet, LMDA-Net, EEGConformer, LightConvNet, IFNet, MSVTNet |
| Ensemble Learning | 3 | Voting, Boosting, Stacking |
Advanced Transfer Learning Framework
NeuroDecKit features a sophisticated transfer learning system with:
- 6,000+ configurable transfer learning pipelines
- Multi-level domain adaptation: Data-level and feature-level alignment
- Comprehensive transfer scenarios: Cross-session, Cross-subject & Cross-dataset
Flexible Pipeline Construction
- 300+ non-transfer learning pipeline configurations
- Modular design for easy algorithm combination
- Extensible architecture for custom method integration
📊 Experimental Results
Experimental Protocols
NeuroDecKit supports multiple experimental paradigms to evaluate algorithm generalization:
🔄 Cross-Session Validation
- Training: All data from first experimental session
- Testing: All data from second experimental session
- Objective: Evaluate temporal stability and session-to-session transfer
👥 Cross-Subject Validation (LOSO)
- Training: All subjects except one (source domain)
- Testing: Left-out subject (target domain)
- Objective: Evaluate intersubject generalization and domain adaptation
🧬 Cross-Dataset Validation
- Training: All data from one dataset (source domain)
- Testing: All data from another dataset (target domain)
- Objective: Evaluate cross-dataset generalization and domain adaptation
Benchmark Performance
Detailed results available in:
BNCI2014-001 (BCI Competition IV-2a)
BNCI2015_001
Pan2023 Dataset
Shin2017A Dataset
🤝 Related Research Resources
We express our gratitude to the open-source community, which facilitates the broader dissemination of research by other researchers and ourselves. The coding style in this repository is relatively rough. We welcome anyone to refactor it to make it more efficient. Our model codebase is largely based on the following repositories:
-
A widely used machine learning library in Python that provides simple and efficient tools for data mining and data analysis.
-
An open science project aimed at establishing a comprehensive benchmark for BCI algorithms using widely available EEG datasets.
-
An open-source non-invasive brain-computer interface platform.
-
A Python library focused on Riemannian geometry methods for EEG signal classification. pyRiemann provides a suite of tools for processing and classifying EEG signals in Riemannian space.
-
Contains several deep learning models such as EEGNet, ShallowConvNet (sCNN), and DeepConvNet (dCNN), designed specifically for EEG signal classification. Braindecode aims to provide an easy-to-use deep learning toolbox.
-
provides several deep learning models such as EEGConformer, LightConvNet, and MSVTNet for EEG signal classification.
📄 License
This project is licensed under the BSD 3-Clause License - see the LICENSE file for details.
Metadata
Release files for neurodeckit 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| neurodeckit-0.2.0.tar.gz | 169.2 kB | With provenance | Details for neurodeckit-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| neurodeckit-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for neurodeckit-0.2.0-py3-none-any.whl |
Total release size: 379.2 kB
Release files / neurodeckit-0.2.0.tar.gz
| Download URL | neurodeckit-0.2.0.tar.gz |
|---|---|
| Size | 169.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
26c3062ef8ff221046e5eba463d61e959465db5fa5ecb2c80400a63dba489b98
|
|
BLAKE2b-256 checksum How to use checksums |
914fabcc42ca4647c78559448a3de5db77a1b5ce155f5fd1de5749740d7df683
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.
Transparency logRelease files / neurodeckit-0.2.0-py3-none-any.whl
| Download URL | neurodeckit-0.2.0-py3-none-any.whl |
|---|---|
| Size | 210.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
a35a2fceed657fe1f2eddfbdad3731bab40bf11e050c4ddf0b918451dfa0fdae
|
|
BLAKE2b-256 checksum How to use checksums |
3940e8959ea94207a205f75d22b6321e401aa43190b2321e3c8e723fc9565586
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/6.1.0 CPython/3.13.7
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.
Transparency logSecurity for neurodeckit 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
All 2 files in this release have been uploaded with provenance metadata.
Attestation for neurodeckit-0.2.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 21, 2025.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.