Kohonen Network - executable, Eclipse and Maven projects

                     Kohonen


The Kohonen program first creates a decision maker and a two-dimensional Kohonen map, links the nodes and initializes the weights at random. To do this, the methods KohonenNet.createNet() and KohonenNet.initNet() are called. The program then visualises how the Kohonen map develops during the training process, whereby the program is controlled via keyboard input:


  • key input I stands for Init
    ... calls KohonenNet.initNet()
    ... "(re)initialisation of the weights"
  • key input S stands for Step
    ... calls KohonenNet.trainNet()
    ... "one training step"
  • key input R stands for Run
    ... calls KohonenNet.trainNet() in a loop
    ... "continuous step"
  • key input P stands for Pause
    ... interrupts the programm
  • key input E stands for Exit
    ... terminates the programm

The complete program consists of five classes:

  • DecisionUnit.java
    code of the "decision maker"
  • KohonenUnit.java
    models the functionality of a single node
  • KohonenNet.java
    models the dynamic aspects of the Kohonen map
  • StdDraw.java (from Princeton University)
    provides basic capabilities for creating drawings
  • KohonenApp.java
    contains the program's main method

Download links: