Skip to content

Classification of SSVEP EEG trials using MDM with various distances and divergences

Notifications You must be signed in to change notification settings

emmanuelkalunga/Offline-Riemannian-SSVEP

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

Riemannian distances and divergences

Introduction

This code accompanies a the publication "Assessment of Riemannian distances and divergences for SSVEP-based BCI" which aims at assessing the impact of several distances/divergences on a real EEG dataset.

Important files

  • main.m

    Classifies SSVEP trials from 12 subjects, using MDM with distances/divergences described in the aforementioned publication: arithmetic, harmonic, Riemannian, log-euclid, Kullback-Leibler, S-divergence, $\alpha$-divergence, Bhattacharrya, Wasserstein, and Jeffreys. The main output of this file are the classification accuracies and the computation time for each method/metric

  • alpha_cross_validation.m

    In the $\alpha$-divergence, the value of $\alpha$ is deternined through cross-validation.

  • loaddata.m

    Implement a function called in main.m. The path to the dataset is hardcoded herein.

  • swelling_effect_analysis.m

    Computes the determinants and traces of means of covariance matrices computed with different distances/divergences. It also computes them for each individual covariance matrix used in the computation of the means.

    Only 1 subject and one class are used for illustrative purposes.

About

Classification of SSVEP EEG trials using MDM with various distances and divergences

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages