Loading [MathJax]/jax/output/HTML-CSS/jax.js

pyriemann.utils.distance.distance_wasserstein

pyriemann.utils.distance.distance_wasserstein(A, B)[source]

Wasserstein distance between two covariances matrices.

d=(tr(A+B2(A1/2BA1/2)1/2))1/2
Parameters:
  • A – First covariance matrix
  • B – Second covariance matrix
Returns:

Wasserstein distance between A and B