GrowingNeuralGas icon indicating copy to clipboard operation
GrowingNeuralGas copied to clipboard

Graph' object has no attribute 'node

Open donkarlo opened this issue 4 years ago • 2 comments

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

donkarlo avatar Mar 02 '21 10:03 donkarlo

The same issue. It seems gng is incompatible with newest networkx

sunnybear avatar Mar 11 '21 20:03 sunnybear