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:
_MapperIncremental 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_growthepochs 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 thandisconnecttimes the median link length and restored belowconnecttimes it, so the map can tear along cluster borders. Growth stops atmax_nodes.