Table of Contents
Back

Loading the recall file

In order to recall the network you need to load the recall file.

To load the training file, press the Open button open and browse to find the required file.

Alternatively, select Load Recall File from the Recall menu and browse to find the required file.

The file can have any extension, but the convention is for recall files to have the extension *.rcl and be of the required format.



Back

Viewing the recall file

You can press the View button view to view your recall file, or select View Recall File from the Recall menu.



Back

Recalling the network

Once the recall file has been loaded, press the Recall button, or select Recall from the Recall menu.

The recall output now needs to be saved to a file.



Back

Saving the output file

Once the recall button has been pressed, you need to save the output coordinates.

To specify the output file, press the Open button open and give the file a name, e.g. iris_recall.cod.

Alternatively, select Load Output File from the Recall menu and specify the file.

The file can have any extension, but the convention is for output coordinates files to have the extension *.cod.



Back

Viewing the output file

You can press the View button View to view your output file, or select View Output File from the Recall menu.

What you see are the inputs from the recall file and then the coordinates of the node of the map that each recall row activated.

Below is an example output generated by training of a Kohonen network.

What you see are the inputs from the recall file and then the coordinates of the node of the map that each recall row activated.

[FormatVersion = 1.0] /* This is a standard version number. Any value larger than 1.0 will not work*/

[DataSet] /*Details of the data set*/
[Rows = 75]
[Inputs = 4]
[ExpectedOutputs = 2]
[GeneratedOutputs = 0]
[Error = 0]

[Data] /*the input values for each row from the recall data file, with the coordinates of the node they activated*/
0.1714290.3684210.0769230.041667 04
0.1714290.5789470.0769230.125 04
0.6285710.3684210.6153850.541667 03
0.6857140.2631580.6923080.541667 13
0.6571430.3684210.7307690.666667 12
0.4571430.3157890.6346150.583333 33
0.3714290.1578950.4423080.375 34
0.3142860.0526320.50.416667 34
0.3142860.0526320.4807690.375 34
0.40.2105260.5192310.458333 34
0.4571430.2105260.750.625 32
0.2857140.3684210.6346150.583333 14
/*... this file would contain more output rows here*/
[~Data]

[~DataSet]



Back

Labeling the output coordinates

Once you have saved the recall output coordinates, press the Label button, or alternatively select Label from the Label menu.

When you label the network you create a file that contains the label from the map file corresponding to the coordinates of the node on the map that that row in the recall data activated the most.

For example:
Map Coordinate File

[FormatVersion = 1.0]

[DataSet]
[Rows = 75]
[Inputs = 0]
[ExpectedOutputs= Labels]
[GeneratedOutputs= 0]
[Error = 0]

[Data]
/*Coords Labels*/
0 0 [Virginica=9.000]
0 1 [Virginica]
0 2 [Versicolor Virginica=2.000]
0 3 [Versicolor=7.000]
0 4 [Setosa=25.000]
1 0 [Virginica=2.000]
1 1 [ ]
1 2 [Virginica=4.000]
1 3 [Versicolor=3.000]
1 4 [Versicolor=6.000]
2 0 [ ]
2 1 [ ]
2 2 [ ]
2 3 [ ]
2 4 [ ]
3 0 [Virginica=3.000]
3 1 [Versicolor]
3 2 [Virginica=2.000]
3 3 [ ]
3 4 [Versicolor=7.000 Virginica=2.000]
[~Data]

[~DataSet]

Recall Output File

[FormatVersion = 1.0]

[DataSet]
[Rows = 75]
[Inputs = 0]
[ExpectedOutputs = Labels]
[GeneratedOutputs = 0]
[Error = 0]

[Data]
/*Recall Input data...Coords*/
0.257 0.73 0.057 0.042 0 4
0.171 0.526 0.038 0.042 0 4
0.629 0.368 0.615 0.542 0 3
0.686 0.263 0.692 0.542 1 3
0.657 0.368 0.731 0.667 1 2
0.457 0.316 0.635 0.583 3 3
0.371 0.158 0.442 0.375 3 4
0.314 0.053 0.5 0.417 3 4
0.314 0.053 0.481 0.375 3 4
0.4 0.211 0.520 0.459 3 4
0.457 0.211 0.75 0.625 3 2
0.286 0.368 0.635 0.583 1 4

/*...*/
[~Data]

[~DataSet]

Network Label File

[FormatVersion = 1.0]

[DataSet]
[Rows = 75]
[Inputs = 0]
[ExpectedOutputs = Labels]
[GeneratedOutputs = 0]
[Error = 0]

[Data]
/*Labels for each row of the recall data*/
[Setosa=25.000 ]
[Setosa=25.000]
[Versicolor=7.000]
[Versicolor=3.000]
[Virginica=4.000]
[ ]
[Versicolor=7.000 Virginica=2.000]
[Versicolor=7.000 Virginica=2.000]
[Versicolor=7.000 Virginica=2.000]
[Versicolor=7.000 Virginica=2.000]
[Virginica=2.000]
[Versicolor=6.000]

/*...*/
[~Data]

[~DataSet]

After labeling the network you should save the file by selecting Save As Label File from the Label menu.


This page is maintained by Melanie Middlemiss mmiddlemiss@infoscience.otago.ac.nz
Last modified on: 22/12/98.