pyriemann.utils.mean.mean_riemann(covmats, tol=1e-08, maxiter=50, init=None, sample_weight=None)[source]¶Return the mean covariance matrix according to the Riemannian metric.
The procedure is similar to a gradient descent minimizing the sum of riemannian distance to the mean.
| Parameters: |
|
|---|---|
| Returns: | the mean covariance matrix |