graphclust.manifold#
Dimensionality reduction and visualization of high-dimensional data.
- Distance-based mappings
- Neighborhood-based mappings
LocalityPreservingProjection,SelfOrganizingMap,IncrementalGridGrowing.- Topology-based (graph distance) mappings
Isomap,Isotop,CurvilinearComponentAnalysis(CCA, and CDA withgeodesic=True),OnlineVisualizationNG(OVI-NG),GeodesicNLPNG(GNLP-NG) andTRNMap.- Neighbor-graph embeddings (post-2013 state of the art)
LaplacianEigenmap,DiffusionMap,UMAPEmbedding(a NumPy implementation of the UMAP algorithm) andtsne()(a thin wrapper of scikit-learn’s Barnes–Hut t-SNE).
Every class has fit(X) and fit_transform(X) and stores the map in
embedding_. The methods that first quantize the data (OVI-NG, GNLP-NG,
TRNMap, Isotop with n_nodes) map the nodes: their embedding_ has one
row per node and transform(X) places samples at the position of their
nearest node.
Distance-, neighborhood- and topology-based maps and neighbor-graph embeddings.
Classes#
|
Curvilinear component analysis (CCA; Demartines and Hérault 1997) and curvilinear distance analysis (CDA). |
|
Diffusion maps (Coifman and Lafon 2006). |
|
Geodesic nonlinear projection neural gas (GNLP-NG; Estévez, Chong, Held and Pérez 2006). |
|
Incremental grid growing (Blackmore and Miikkulainen 1993). |
|
Isomap (Tenenbaum, de Silva and Langford 2000). |
|
Isotop (Lee and Verleysen 2002, 2004). |
|
Laplacian eigenmaps (Belkin and Niyogi 2003). |
|
Locality preserving projections (He and Niyogi 2003): a linear map that keeps neighbors close. |
|
Metric multidimensional scaling. |
|
Non-metric (ordinal) MDS (Kruskal 1964): preserves the rank order of the dissimilarities. |
|
Online visualization neural gas (OVI-NG; Estévez and Figueroa 2006). |
|
Sammon's nonlinear mapping (1969). |
|
Kohonen's self-organizing map (batch training). |
|
Topology representing network map (Vathy-Fogarassy, Kiss and Abonyi 2008). |
|
Uniform manifold approximation and projection (UMAP; McInnes, Healy and Melville 2018), NumPy implementation. |
Functions#
|
Classical (Torgerson) MDS of a distance matrix. |
|
t-distributed stochastic neighbor embedding (van der Maaten and Hinton 2008) via scikit-learn. |