pyriemann.datasets.make_outliers¶
- pyriemann.datasets.make_outliers(n_matrices, mean, sigma, outlier_coeff=10, random_state=None)¶
Generate outlier matrices.
Generate matrices that are outliers for a given Riemannian Gaussian distribution with fixed mean and dispersion.
- Parameters:
- n_matricesint
Number of matrices to generate.
- meanndarray, shape (n_dim, n_dim)
Center of the Riemannian Gaussian distribution.
- sigmafloat
Dispersion of the Riemannian Gaussian distribution.
- outlier_coeff: float, default=10
Coefficient determining how to define an outlier, i.e. how many times the sigma parameter its distance to the mean should be.
- random_stateint | RandomState instance | None, default=None
Pass an int for reproducible output across multiple function calls.
- Returns:
- outliersndarray, shape (n_matrices, n_dim, n_dim)
Set of generated outlier matrices.
Notes
Added in version 0.3.