JavaNNS: Training

Training
Home
Introduction
Licensing
Installation
Quick Tour
Networks
Patterns
Training
Analyzing
Files
Formats
Examples
# Training and Pruning Networks Training is also performed through the Control Panel. In the Initializing tab, an initialization function and its parameters can be set. The Init button (also available in the Learning tab) performs the initialization. Figure 8: Control Panel - Init Under the Learning tab, the user can choose the learning function, set its parameters, number of learning cycles and update steps and finally perform network initialization and learning. The classic Backpropagation (equals Std_Backpropagation in SNNS) is the default learning function. For each learning function default parameters are provided. The "Learn current" button performs training with the currently selected pattern and "Learn all" with all patterns from the pattern set. In order to monitor learning progress, it is useful to open the Error Graph and/or Log window, both available from the View menu. During learning, the error graph displays the error curve. The type of the error to be drawn is set through the middle button located on the left edge of the window. The arrow buttons near the axes are used for scaling. The two buttons in the left bottom corner clear the error graph and toggle grid, respectively. Figure 9: Control Panel - Learning During training, the error is also written into the log window. Also, many other useful information about the network are written there on diverse occasions. The log window corresponds roughly to the command shell window from which SNNS is started in a Unix system. Figure 10: Control Panel - Pruning Options and controls for pruning networks are found under the Pruning tab in the Control Panel. Its contents corresponds mostly to the Pruning window in SNNS. However, contrary to the SNNS, the user does not have to set the learning function to PruningFeedForward. In JavaNNS it is done automatically and transparently for him/her. The learning function, as set under the Learning tab, as well as number of cycles, correspond to the data entered in "General parameters for Training" section of the SNNS' Pruning window. In JavaNNS, pruning is performed by pressing the Prune button. Cascade correlation and TACOMA learning are the only exceptions to the concept of the Control Panel being the central place for manipulating networks. Because of the large number of parameters needed by the two learning methods, a separate window, accessible from the Tools menu is used. Contrary to SNNS, where parameters for cascade correlation and TACOMA are dispersed between the Control Panel and the Cascade window, in JavaNNS the Cascade window alone covers all data and parameters needed for applying the two learning algorithms. Figure 11: Cascade Correlation and TACOMA - General The window is divided into six tabs. Tabs "General", "Modification" and "Learn" cover the parameters set in SNNS in the section "General Parameters for Cascade" of the Cascade window. Under the "Lear" tab of the JavaNNS Cascade window, the learning function, together with its parameters and the maximal number of cascades (hidden units generated during learning) are set. The "Init" tab is introduced for convenience and provides for initializing network. Tabs "Candidates" and "Output" correspond to "Parameters for Candidate Units" and "Parameters for Output Units" sections in the SNNS window. The default learning method invoked from the window is cascade correlation, TACOMA can be set as a modification under the corresponding tab. Figure 12: Cascade Correlation and TACOMA - Learning Last change: Igor Fischer, Thu May 16 14:13:36 2002 GMT Page 8: JavaNNS-manual-7.html © 2001-2002 Universität Tübingen