Initial weights

If you set flag_load_net=1, an initial weight configuration can be read in from w_0.net. This file consists of three columns for the source node, the target node, and the weight on the connection between the specified nodes. Consult topo.out for an identification of the nodes. w_0.net is usually obtained from w_1.net, which records the evolution of the weights during training. The end of a weight configuration is indicated by a line starting with the keyword Epot (the energy on the training set); for example:

1 40 0.074586
1 41 0.073603
1 42 0.055458
Epot= -1.02562

This allows you to easily cut out the weight configuration that you want to keep. If you want to keep only the last weight configuration from a training simulation, set printout_w_step= number_of_epochs-1 and make sure that this number can be divided by printout_E_step.

Here as an example, which shows the last three rows of simu.in:

51 number_of_epochs
2 printout_E_step
50 printout_w_step


Last modified: 19 May 2000