Skip to content

Graph' object has no attribute 'node #6

@donkarlo

Description

@donkarlo

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions