Skip to main content

Full chain toolkit for EEG signal decoding

Project description

NeuroDecKit: A Comprehensive MI-EEG Decoding Toolbox

Python License 996.icu

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)

Cross-Session | Cross-Subject

BNCI2015_001

Cross-Session | Cross-Subject

Pan2023 Dataset

Cross-Session | Cross-Subject

Shin2017A Dataset

Cross-Session | Cross-Subject

🤝 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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

neurodeckit-0.2.0.tar.gz (169.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

neurodeckit-0.2.0-py3-none-any.whl (210.0 kB view details)

Uploaded Python 3

File details

Details for the file neurodeckit-0.2.0.tar.gz.

File metadata

  • Download URL: neurodeckit-0.2.0.tar.gz
  • Upload date:
  • Size: 169.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurodeckit-0.2.0.tar.gz
Algorithm Hash digest
SHA256 26c3062ef8ff221046e5eba463d61e959465db5fa5ecb2c80400a63dba489b98
MD5 92b4a5dd1bc05001f6cfba3555f25292
BLAKE2b-256 914fabcc42ca4647c78559448a3de5db77a1b5ce155f5fd1de5749740d7df683

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurodeckit-0.2.0.tar.gz:

Publisher: publish.yml on PLC-TJU/NeuroDecKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file neurodeckit-0.2.0-py3-none-any.whl.

File metadata

  • Download URL: neurodeckit-0.2.0-py3-none-any.whl
  • Upload date:
  • Size: 210.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for neurodeckit-0.2.0-py3-none-any.whl
Algorithm Hash digest
SHA256 a35a2fceed657fe1f2eddfbdad3731bab40bf11e050c4ddf0b918451dfa0fdae
MD5 416d3f73fe30f57676db9c5432e99fb2
BLAKE2b-256 3940e8959ea94207a205f75d22b6321e401aa43190b2321e3c8e723fc9565586

See more details on using hashes here.

Provenance

The following attestation bundles were made for neurodeckit-0.2.0-py3-none-any.whl:

Publisher: publish.yml on PLC-TJU/NeuroDecKit

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page