GrowingNeuralGas
GrowingNeuralGas copied to clipboard
Simple implementation of the "growing neural gas" artificial neural network
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...
These modifications are needed to be compliant with the new version of networkX
Currently the neighbors are updated with the same vector as the winning node. They should have individually computed update vectors.