8000 [MRG+1] Add prominent mention of Laplacian Eigenmaps by samsontmr · Pull Request #8155 · scikit-learn/scikit-learn · GitHub
[go: up one dir, main page]

Skip to content

[MRG+1] Add prominent mention of Laplacian Eigenmaps #8155

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Jan 18, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8000 13 changes: 6 additions & 7 deletions doc/modules/manifold.rst
Original file line number Diff line number Diff line change
Expand Up @@ -305,11 +305,11 @@ The overall complexity of standard HLLE is
Spectral Embedding
====================

Spectral Embedding (also known as Laplacian Eigenmaps) is one method
to calculate non-linear embedding. It finds a low dimensional representation
of the data using a spectral decomposition of the graph Laplacian.
The graph generated can be considered as a discrete approximation of the
low dimensional manifold in the high dimensional space. Minimization of a
Spectral Embedding is an approach to calculating a non-linear embedding.
Scikit-learn implements Laplacian Eigenmaps, which finds a low dimensional
representation of the data using a spectral decomposition of the graph
Laplacian. The graph generated can be considered as a discrete approximation of
the low dimensional manifold in the high dimensional space. Minimization of a
cost function based on the graph ensures that points close to each other on
the manifold are mapped close to each other in the low dimensional space,
preserving local distances. Spectral embedding can be performed with the
Expand All @@ -319,7 +319,7 @@ function :func:`spectral_embedding` or its object-oriented counterpart
Complexity
----------

The Spectral Embedding algorithm comprises three stages:
The Spectral Embedding (Laplacian Eigenmaps) algorithm comprises three stages:

1. **Weighted Graph Construction**. Transform the raw input data into
graph representation using affinity (adjacency) matrix representation.
Expand Down Expand Up @@ -640,4 +640,3 @@ Tips on practical use
:ref:`random_trees_embedding` can also be useful to derive non-linear
representations of feature space, also it does not perform
dimensionality reduction.

10 changes: 7 additions & 3 deletions sklearn/manifold/spectral_embedding_.py
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,8 @@ def spectral_embedding(adjacency, n_components=8, eigen_solver=None,
However care must taken to always make the affinity matrix symmetric
so that the eigenvector decomposition works as expected.

Note : Laplacian Eigenmaps is the actual algorithm implemented here.

Read more in the :ref:`User Guide <spectral_embedding>`.

Parameters
Expand Down Expand Up @@ -189,9 +191,9 @@ def spectral_embedding(adjacency, n_components=8, eigen_solver=None,

Notes
-----
Spectral embedding is most useful when the graph has one connected
component. If there graph has many components, the first few eigenvectors
732E will simply uncover the connected components of the graph.
Spectral Embedding (Laplacian Eigenmaps) is most useful when the graph
has one connected component. If there graph has many components, the first
few eigenvectors will simply uncover the connected components of the graph.

References
----------
Expand Down Expand Up @@ -329,6 +331,8 @@ class SpectralEmbedding(BaseEstimator):
The resulting transformation is given by the value of the
eigenvectors for each data point.

Note : Laplacian Eigenmaps is the actual algorithm implemented here.

Read more in the :ref:`User Guide <spectral_embedding>`.

Parameters
Expand Down
0