graphclust.manifold.Isotop#
- class graphclust.manifold.Isotop(n_components=2, *, n_nodes=None, k=6, n_iter=None, alpha=(1.0, 0.01), lam=(None, 0.5), random_state=None)[source]#
Bases:
_NodeMapperIsotop (Lee and Verleysen 2002, 2004).
Optionally quantize the data with neural gas (
n_nodes).Link the nodes by a
k-NN graph and compute geodesic distances \(\delta_{ij}\).Self-organize the map positions \(\mathbf{y}_i\) like a SOM whose lattice is replaced by the graph: draw a point \(\mathbf{g}\) from a Gaussian kernel centered on a random map node, find the node \(c\) closest to it in the map, and move every node towards \(\mathbf{g}\) with step \(\alpha(t)\exp\{-\tfrac12[\delta_{ci}/(\lambda(t)\mu_\delta)]^2\}\), where \(\mu_\delta\) is the mean edge length.
Isotop unfolds manifolds without solving an eigenproblem; it can fall into local minima and needs the schedules to be set with some care.