← Back to projects

Brain computer interfaces

IntentLab

Classifying imagined hand movements from recorded EEG

An experiment that classifies imagined hand movements from recorded EEG and shows how model confidence affects each prediction

Recorded EEG traces, recording controls and left and right probabilities in IntentLab’s interactive demonstration

The demonstration replays recorded experiments to classify two imagined movements; it has no live headset connection, cannot read thoughts and is not a medical device

Community resources

Included in NeuroTechX’s community curated Awesome BCI resources ↗

NeuroTechX’s Awesome BCI maintainers accepted IntentLab into the Tutorials and Project Ideas section, where the recorded EEG demonstration and teaching exercise are available to people learning about brain computer interfaces

Research question

Recognising imagined movement in unfamiliar recordings

IntentLab evaluates whether a model trained on one group of participants can recognise imagined movement in recordings from other people, with controls for inspecting correct and incorrect predictions

October 2026 study

Learning from unlabelled EEG

Masked channel pretraining is compared with training from scratch using 252 or 2,832 movement labels across three random seeds, with results reported as exploratory validation rather than a new independent test

Timing measurements distinguish server processing, browser round trip time and the three second recording window, while an audit of a separate intracortical dataset documents that its recordings were unavailable to download and have not been used for training

Read the methods, results and sources ↗

How to use it

  1. 1

    Choose a recording

    Pick a held out EEG trial from the public PhysioNet motor imagery dataset

  2. 2

    Decode the signal

    A compact neural network estimates left or right imagined movement from nine electrodes

  3. 3

    Inspect the result

    Compare the prediction with the recorded label while adjusting confidence, noise and channel availability to explore the model’s limits

Test result on unseen participants

61.1%

Balanced accuracy on unseen participants

An average across 21 unseen participants, giving each person equal weight, with a 95% bootstrap interval of 55.8 to 66.6% against a 50% chance baseline

Results on unseen people

The compact neural network was selected using validation results before evaluation on a separate test set, with participants kept apart throughout to assess generalisation to unfamiliar people

The model did not meet the validation target for reliable control and accepts 2.9% of test trials at the default 75% confidence threshold, showing the reduction in usable commands when uncertain predictions are rejected

Read the research report ↗

How it works

The training pipeline compares simple baselines with a compact convolutional network using public EEG recordings, with the selected model served through ONNX and FastAPI

The repository includes a calibration and alignment comparison, a participant reliability audit and a chronological calibration example for MOABB, alongside saved results and a teaching exercise

  • Python
  • PyTorch
  • ONNX
  • FastAPI
  • Parquet
  • Docker
  • GitHub Actions

Data: PhysioNet EEG Motor Movement/Imagery Dataset v1.0.0 · DOI: 10.13026/C28G6P · Open Data Commons Attribution licence

Explore the recordings, predictions and evaluation results

Open IntentLab ↗