An open API service indexing awesome lists of open source software.

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

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