GrowingNeuralGas icon indicating copy to clipboard operation
GrowingNeuralGas copied to clipboard

Simple implementation of the "growing neural gas" artificial neural network

Results 4 GrowingNeuralGas issues
Sort by recently updated
recently updated
newest added

When running example.py, just for testing, this happened GrowingNeuralGas/gng.py", line 83, in fit_network self.network.node[s_1]['error'] += spatial.distance.euclidean(observation, self.network.node[s_1]['vector'])**2 AttributeError: 'Graph' object has no attribute 'node

Good afternoon. Noticed a bug in implementation, probably. I suppose you should update a weight of a neighbour n by moving it to the observed point x. So that way...

Currently the neighbors are updated with the same vector as the winning node. They should have individually computed update vectors.