graphclust.manifold.IncrementalGridGrowing#

class graphclust.manifold.IncrementalGridGrowing(*, max_nodes=60, epochs_per_growth=3, sigma=1.0, lr=0.3, connect=0.8, disconnect=2.5, random_state=None)[source]#

Bases: _Mapper

Incremental grid growing (Blackmore and Miikkulainen 1993).

A self-organizing map whose lattice grows: training starts on a 2 x 2 grid; after every epochs_per_growth epochs the boundary node with the largest accumulated quantization error receives new nodes in all free lattice positions next to it (initialized by extrapolation from their neighbors). Lattice links between adjacent nodes are cut when their vectors drift farther apart than disconnect times the median link length and restored below connect times it, so the map can tear along cluster borders. Growth stops at max_nodes.