SelfEEG: A Python library for Self-Supervised Learning in Electroencephalography

Federico Del Pup, Andrea Zanola, Louis Fabrice Tshimanga, Paolo Emilio Mazzon, Manfredo Atzori
12/20/2023
12 citations
eess.SPcs.LG
contrastive-ssl

Official code: MedMaxLab/selfEEG (75 stars, Python, MIT, last commit 2025-06-12).

Abstract

SelfEEG is an open-source Python library developed to assist researchers in conducting Self-Supervised Learning (SSL) experiments on electroencephalography (EEG) data. Its primary objective is to offer a user-friendly but highly customizable environment, enabling users to efficiently design and execute self-supervised learning tasks on EEG data.

Show full abstract

SelfEEG covers all the stages of a typical SSL pipeline, ranging from data import to model design and training. It includes modules specifically designed to: split data at various granularity levels (e.g., session-, subject-, or dataset-based splits); effectively manage data stored with different configurations (e.g., file extensions, data types) during mini-batch construction; provide a wide range of standard deep learning models, data augmentations and SSL baseline methods applied to EEG data. Most of the functionalities offered by selfEEG can be executed both on GPUs and CPUs, expanding its usability beyond the self-supervised learning area. Additionally, these functionalities can be employed for the analysis of other biomedical signals often coupled with EEGs, such as electromyography or electrocardiography data. These features make selfEEG a versatile deep learning tool for biomedical applications and a useful resource in SSL, one of the currently most active fields of Artificial Intelligence.

View on arXivView PDF

Code Implementations(1)

MedMaxLab/selfEEGOfficial100%
MIT

selfEEG: a Python library for Self-Supervised Learning on Electroencephalography (EEG) data

7514Python, Jupyter NotebookSep 25, 20231 years agoMIT
deep-learningeegself-supervised-learning

Similar Papers

Cite this paper

@article{pup2023selfeeg,
  title  = {SelfEEG: A Python library for Self-Supervised Learning in Electroencephalography},
  author = {Federico Del Pup and Andrea Zanola and Louis Fabrice Tshimanga and Paolo Emilio Mazzon and Manfredo Atzori},
  year   = {2023},
  eprint = {2401.05405},
  archivePrefix = {arXiv},
  url    = {http://arxiv.org/abs/2401.05405v1}
}

Add a badge to your README

Shows whether official code is linked for this paper.

Code of Paper badge
[![Code of Paper](https://codeofpaper.com/badge/2401.05405.svg)](https://codeofpaper.com/paper/2401.05405)

Discussion