Skip to content

Commit

Permalink
Apply suggestions from code review
Browse files Browse the repository at this point in the history
Co-authored-by: Quentin Barthélemy <q.barthelemy@gmail.com>
  • Loading branch information
gabelstein and qbarthelemy committed Apr 15, 2024
1 parent 96c99a2 commit 2a07fd8
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions pyriemann/embedding.py
Original file line number Diff line number Diff line change
Expand Up @@ -362,12 +362,13 @@ def locally_linear_embedding(X,
X : ndarray, shape (n_matrices, n_channels, n_channels)
Set of SPD matrices.
n_components : int, default=2
Dimensionality of projected space. If None, n_components is set to
n_matrices - 1.
Dimensionality of projected space.
If None, ``n_components`` is set to ``n_matrices - 1``.
n_neighbors : int, default=5
Number of neighbors for reconstruction of each point. If None, all
available points are used. If n_neighbors > n_matrices, n_neighbors
is set to n_matrices - 1.
Number of neighbors for reconstruction of each point.
If None, all available matrices are used.
If ``n_neighbors > n_matrices``, ``n_neighbors`` is set to
``n_matrices - 1``.
metric : {"euclid", "logeuclid", "riemann"}, default: "riemann"
Metric used for KNN and Kernel estimation.
kernel : callable, default=None
Expand Down

0 comments on commit 2a07fd8

Please sign in to comment.