-
Notifications
You must be signed in to change notification settings - Fork 0
/
democonfig.html
157 lines (120 loc) · 4.85 KB
/
democonfig.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
<!DOCTYPE html>
<HTML lang="en">
<head>
<title>Configuring the SOM demonstrations</title>
<link rel="stylesheet" href="style.css">
</head><body>
<h1>Configuring the SOM demonstrations</h1>
Applet properties can be used to customize the SOM demos. See the
html source of the SOM demo pages for examples.
<h2>Common parameters</h2>
<dl>
<dt><tt>ips</tt> <em>int</em>
<dd>Teaching iterations per second.
<dt><tt>delay</tt> <em>int</em>
<dd><em>(Demos 2 and 3)</em> Time (in milliseconds) between screen
updates in the map display.
<dt><tt>alpha</tt> <em>float</em>
<dd>The learning rate parameter <em>alpha</em>. In demo 1, alpha is
constant. In demos 2 and 3 this parameter tells the initial
value of alpha at the start of teaching.
<dt><tt>radius</tt> <em>float</em>
<dd>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.
<dt><tt>maxiter</tt> <em>int</em>
<dd><em>(Demos 2 and 3)</em> 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.
<dt><tt>fontname</tt> <em>string</em>
<dd>The name of the font used in labels and buttons in the demos.
Default font name is 'Helvetica'.
<dt><tt>fontsize</tt> <em>int</em>
<dd>The size of the font used in labels and buttons in the demos.
Default size is 12.
<dt><tt>txtstart</tt> <em>string</em>
<dd>Text for the START button. Default text is 'Start'.
<dt><tt>txtstop</tt> <em>string</em>
<dd>Text for the STOP button. Default text is 'Stop'.
<dt><tt>txtrand</tt> <em>string</em>
<dd>Text for the RANDOMIZE button. Default text is 'Randomize' for
demo 1 and 'Randomize map' for demos 2 and 3.
<dt><tt>txtreset</tt> <em>string</em>
<dd><em>(Demos 2 and 3) </em>Text for the RESET button. Default
text is 'Reset'.
<dt><tt>topol</tt> <em>string</em>
<dd><em>(Demos 2 and 3)</em> The topology type of the map. Can be either
'<em>rect</em>' (rectagonal topology) or '<em>hexa</em>'
(hexagonal topology). In demo 2 the map is always displayed in
rectangular grid even if hexagonal topology is selected. The
default is <em>rect</em>.
<dt><tt>neigh</tt> <em>string</em>
<dd><em>(Demos 2 and 3)</em> The heighborhood type of the map. Can be either
'<em>bubble</em>' or '<em>gaussian</em>'. The default is
<em>bubble</em>.
<dt><tt>mapw</tt> <em>int</em>
<dd><em>(Demos 2 and 3)</em> Width of the map.
<dt><tt>maph</tt> <em>int</em>
<dd><em>(Demos 2 and 3)</em> Height of the map. For one-dimensional
map, use 1 as height.
</dl>
<h2>Demo 1</h2>
<dl>
<dt><tt>units</tt> <em>int</em>
<dd>Number of map units.
<dt><tt>maxalpha</tt> <em>float</em>
<dd>The maximum value the user can give to the alpha parameter.
<dt><tt>unitw</tt> <em>int</em>
<dd>Width of the map units.
<dt><tt>unith</tt> <em>int</em>
<dd>Height of the map units.
<dt><tt>bordersize</tt> <em>int</em>
<dd>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.
</dl>
<h2>Demo 2</h2>
<dl>
<dt><tt>unitsize</tt> <em>int</em>
<dd>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.
<dt><tt>piemode</tt> <em>string</em>
<dd>Determines the mode of operation of the 'pies'. Possible values
are <em>arc</em> and <em>sector</em>. In <em>arc</em>, the
random vectors come from the arc shown in the pie. In
<em>sector</em>, vectors are evenly distributed inside the
sector.
<dt><tt>txtclasses</tt> <em>string</em>
<dd>Text for the 'classes' label over the pies. Default text is
'Classes'.
<dt><tt>txtpros</tt> <em>string</em>
<dd>Text for the label over the widget that is used to change the
proportions of the classes. Default text is '%'.
<dt><tt>txtmap</tt> <em>string</em>
<dd>Text for the 'Map' label over the map display. Default text is
'Map'.
</dl>
<h2>Demo 3</h2>
<dl>
<dt><tt>distr</tt> <em>string</em>
<dd>This parameter selectes the initial shape of the random
distribution that is used to teach the map. Possible shapes
are: <em>square</em>, <em>triangle</em> and <em>circle</em>.
In the demo the selected distribution is shown with light blue
color on the map background.
</dl>
<footer>
<div>
*
<a href="index.html"><b>Demo Index</b></a>
*
</div>
<div>
<!-- hhmts start -->
Last modified: Wed Sep 29 18:35:06 1999
<!-- hhmts end -->
</div>
</footer>
</body></html>