Skip to main content

End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG Classification

Open In Colab Pypi Downloads DOI

Python API and the novel algorithm for motor imagery EEG recognition named MIN2Net. The API benefits BCI researchers ranging from beginners to experts. We demonstrate the examples in using the API for loading benchmark datasets, preprocessing, training, and validation of SOTA models, including MIN2Net. In summary, the API allows the researchers to construct the pipeline for benchmarking the newly proposed models and very recently developed SOTA models.


Getting started

Dependencies

  • Python==3.6.9
  • tensorflow-gpu==2.2.0
  • tensorflow-addons==0.9.1
  • scikit-learn>=0.24.1
  • wget>=3.2
  1. Create conda environment with dependencies
wget https://raw.githubusercontent.com/IoBT-VISTEC/MIN2Net/main/environment.yml
conda env create -f environment.yml
conda activate min2net

Installation:

  1. Using pip
pip install min2net
  1. Using the released python wheel
wget https://github.com/IoBT-VISTEC/MIN2Net/releases/download/v1.0.0/min2net-1.0.0-py3-none-any.whl
pip install min2net-1.0.0-py3-none-any.whl

Tutorial

Open in Colab

Citation

To cited our paper

P. Autthasan et al., "MIN2Net: End-to-End Multi-Task Learning for Subject-Independent Motor Imagery EEG Classification," in IEEE Transactions on Biomedical Engineering, doi: 10.1109/TBME.2021.3137184.

@ARTICLE{9658165,
  author={Autthasan, Phairot and Chaisaen, Rattanaphon and Sudhawiyangkul, Thapanun and 
  Kiatthaveephong, Suktipol and Rangpong, Phurin and Dilokthanakul, Nat 
  and Bhakdisongkhram, Gun and Phan, Huy and Guan, Cuntai and 
  Wilaiprasitporn, Theerawit},
  journal={IEEE Transactions on Biomedical Engineering}, 
  title={MIN2Net: End-to-End Multi-Task Learning for Subject-Independent Motor Imagery 
  EEG Classification}, 
  year={2021},
  volume={},
  number={},
  pages={1-1},
  doi={10.1109/TBME.2021.3137184}}

License

Copyright © 2021-All rights reserved by INTERFACES (BRAIN lab @ IST, VISTEC, Thailand). Distributed by an Apache License 2.0.

Metadata

Release files for min2net 1.0.1

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for min2net 1.0.1
File Size Uploaded
min2net-1.0.1.tar.gz 24.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for min2net 1.0.1
File Interpreter ABI Platform
min2net-1.0.1-py3-none-any.whl Python 3 none any Details

Total release size: 83.1 kB

Release files / min2net-1.0.1.tar.gz

Download URL min2net-1.0.1.tar.gz
Size 24.9 kB
Tags Source
SHA-256 checksum
How to use checksums
076801db149916a631f5fbc7fb9a4ab8e2b931f98952928b79d7329b63b0d5ac
BLAKE2b-256 checksum
How to use checksums
4a55e97999e981b2faf01514e3abc2ddacdbd85077bea0aa877ec3acf4bb8c96
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/1.6.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

Release files / min2net-1.0.1-py3-none-any.whl

Download URL min2net-1.0.1-py3-none-any.whl
Size 58.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
5416ecc1540d118f73f890f6b6e6eeeac6a18b052dc1da2b721b044f031ce6b3
BLAKE2b-256 checksum
How to use checksums
ce589e30b90fec1e4397b259fe73760dc051c6e8692bc7f47ea10a7ab5ed5501
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.8.0 pkginfo/1.8.2 readme-renderer/32.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.7 tqdm/4.62.3 importlib-metadata/1.6.1 keyring/23.4.1 rfc3986/1.5.0 colorama/0.4.4 CPython/3.6.9

Release history Release notifications | RSS feed

This release

1.0.1 This release

2 release files

1.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page