Configuring the SOM demonstrations

Applet properties can be used to customize the SOM demos. See the html source of the SOM demo pages for examples.

Common parameters

ips int
Teaching iterations per second.
delay int
(Demos 2 and 3) Time (in milliseconds) between screen updates in the map display.
alpha float
The learning rate parameter alpha. In demo 1, alpha is constant. In demos 2 and 3 this parameter tells the initial value of alpha at the start of teaching.
radius float
The neighborhood radius. In demo 1, radius is constant. In demos 2 and 3 this parameter tells the initial value of radius at the start of teaching.
maxiter int
(Demos 2 and 3) The length of the teaching process in number of iterations during which alpha and radius decrease from their initial values to their final values. When the parameters teach their final values, the teaching stops automatically.
fontname string
The name of the font used in labels and buttons in the demos. Default font name is 'Helvetica'.
fontsize int
The size of the font used in labels and buttons in the demos. Default size is 12.
txtstart string
Text for the START button. Default text is 'Start'.
txtstop string
Text for the STOP button. Default text is 'Stop'.
txtrand string
Text for the RANDOMIZE button. Default text is 'Randomize' for demo 1 and 'Randomize map' for demos 2 and 3.
txtreset string
(Demos 2 and 3) Text for the RESET button. Default text is 'Reset'.
topol string
(Demos 2 and 3) The topology type of the map. Can be either 'rect' (rectagonal topology) or 'hexa' (hexagonal topology). In demo 2 the map is always displayed in rectangular grid even if hexagonal topology is selected. The default is rect.
neigh string
(Demos 2 and 3) The heighborhood type of the map. Can be either 'bubble' or 'gaussian'. The default is bubble.
mapw int
(Demos 2 and 3) Width of the map.
maph int
(Demos 2 and 3) Height of the map. For one-dimensional map, use 1 as height.

Demo 1

units int
Number of map units.
maxalpha float
The maximum value the user can give to the alpha parameter.
unitw int
Width of the map units.
unith int
Height of the map units.
bordersize int
The size of the borders (and knobs) of the map units. This parameter can be used to make the borders of the units more visible if the size of the applet is enlarged.

Demo 2

unitsize int
Determines the size of the map units. Map units are square and this parameters tells the length of the side of the square. Currently determines the size of the pies also.
piemode string
Determines the mode of operation of the 'pies'. Possible values are arc and sector. In arc, the random vectors come from the arc shown in the pie. In sector, vectors are evenly distributed inside the sector.
txtclasses string
Text for the 'classes' label over the pies. Default text is 'Classes'.
txtpros string
Text for the label over the widget that is used to change the proportions of the classes. Default text is '%'.
txtmap string
Text for the 'Map' label over the map display. Default text is 'Map'.

Demo 3

distr string
This parameter selectes the initial shape of the random distribution that is used to teach the map. Possible shapes are: square, triangle and circle. In the demo the selected distribution is shown with light blue color on the map background.

* Demo Index *

Last modified: Wed Sep 29 18:35:06 1999