timeflux / timeflux_rasr

Implementation of rASR filtering.
MIT License
26 stars 4 forks source link

Implement riemannian geometric median #3

Open lkorczowski opened 4 years ago

lkorczowski commented 4 years ago

In the rASR matlab implementation, the geometric median is euclidean. For now, python RASR uses also the euclidean geometric median (with the different optimization method though).

We might want to implement a riemannian Geometric Median.

Advantage:

Disadvantage:

Right-now, the advantage is not clear so it is not a priority.

lkorczowski commented 4 years ago

Florent Bouchard proposed us to give the gradien and hessian so we can find the riemannian geometric median using pymanopt TrustRegions() and/or we can simply ask autograd to find them (the cost function is very simple).

qbarthelemy commented 1 year ago

The Riemannian geometric median is available in pyRiemann since v0.4 https://pyriemann.readthedocs.io/en/latest/generated/pyriemann.utils.median_riemann.html