https://github.com/cmd-ntrf/gogng
Growing Neural Gas Network (GNG) implementation in Go
https://github.com/cmd-ntrf/gogng
Last synced: about 1 year ago
JSON representation
Growing Neural Gas Network (GNG) implementation in Go
- Host: GitHub
- URL: https://github.com/cmd-ntrf/gogng
- Owner: cmd-ntrf
- Created: 2011-06-29T14:06:14.000Z (almost 15 years ago)
- Default Branch: master
- Last Pushed: 2013-03-28T02:42:36.000Z (about 13 years ago)
- Last Synced: 2025-01-28T20:44:55.283Z (over 1 year ago)
- Language: Go
- Size: 117 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gogng
This is a command-line implementation in Go of the classic Growing Neural Gas Network algorithm described in _A Growing Neural Gas Network Learns Topologies_ by Bernd Fritzke.
# Usage
# Plotting topology
If the signal is in 2-D, the resulting topology can be drawn with the provided script `plot_graph.py`, and if the signal is in 3D the result can be drawn with `plot_graph3D.py`.
## Requirements
Requirements for `plot_graph` :
* matplotlib
* networkx
Requirements for `plot_graph3D` :
* networkx
* numpy
* vtk
* mayavi
* Enthought Tool Suite : mayavi, traits, traitsui, envisage, apptools
* configobj
## Usage
plot_graph[3D].py [topology json file]
If the json file is not provided, the script tries to read the topology from the standard input. It is therefore possible to pipe the output of gogng directly in `plot_graph.py`.
# Examples