graphclust.manifold.Isomap#

class graphclust.manifold.Isomap(n_components=2, *, k=10, eps=None, graph=None)[source]#

Bases: _Mapper

Isomap (Tenenbaum, de Silva and Langford 2000).

Builds the k-NN graph (or the \(\varepsilon\)-graph), computes the geodesic distances with Dijkstra’s algorithm, and embeds them by classical MDS. Disconnected graphs are joined by their shortest inter-component edges, so that multi-cluster data can still be mapped (a known weakness of the original method). graph may also be a precomputed sparse graph.