Professional Basis of AI Backprop Hypertext Documentation

Copyright (c) 1990-97 by Donald R. Tveter

Output

This menu window contains a number of different commands to output information, either the weights or a copy of the I/O going on in the canvas area of the main window as well as saving the state of the problem.

Echoing Input

When you are reading commands from a file it is sometimes worthwhile to see those commands echoed on the screen, this is especially true if there is some kind of error in the text. There is a button that will toggle this on and off or the typed commands are:

f e+   * echo on
f e-   * echo off

Start Copying/End Copying

When you press the "Start Copying" button the program will start copying all the strings written to the canvas area of the main window to a file that you have to name. This allows you to keep a record of what you've done or if something goes wrong you can email me a copy of what happened. If you're reading from a file you may also want to echo characters read from a file. The typed version of the command to write to the file xor.cpy is:

ct xor.cpy   * copy to xor.cpy
Copying ends when you click the "End Copying" button or start copying to a new file or end the program. The typed version of the end copying command was lumped under the format command:

f c-   * turn copying off

Save Weights To:

With this button you can save weights to the name of the file in the entry box or edit the entry box file name and type a carriage return. The typed versions of the command are:

sw            * writes the weights to the current weights file
sw filename   * writes the weights to the filename

Save Weights Every

If you fill in the entry box the program will write the weights to the weights file at the rate you specify, initially this rate is so large that its unlikely that weights will ever be saved. The typed command version to save weights every 100 iterations is:

swe 100

Save Weights Every Minimum

The program will save the weights whenever the status of the TEST SET is checked (the print rate in the r command) and the error put output unit is less than the previous error. This enables you to catch the best network as the training proceeds. If the number weights file option is on you will get a lot of files each with a different number. The typed command is:

swem

Number Weights Files

The program can count the number of weight files written and assign each one a unique name based on the number. If the name of the weights files is "weights", the weights will be saved in files named "weights.1", "weights.2", "weights.3" and so on. This numbering capability is turned on with:

f W+ and turned off with:

f W-

To start the renumbering from 0 you can turn "Number Weights Files" on again.

Within a benchmarking run only one weights file is produced for each network, that is whenever a new best set is found it overwrites the current best set instead of creating a new file.

Save Everything

The save everything command will pop up an entry box to get the name of the file you want to save the state of the program to. First weights are written to the current weights file and then the commands to set the state of the program are written to the file you name. This does not rewrite the pattern files, it merely adds commands to read patterns from those files.