int samann_learn | (net, data_set, eta, alpha, cycles, options) |
NET | *net | Pointer to a net; must be initialised by samann_init. |
DATASET | *data_set | A pointer to a learning set (must be an IOSET). |
double | eta | The coefficient eta (the learning rate) of the SAMANN rule. |
double | alpha | The coefficient alpha (the momentum term) of the SAMANN rule. |
long | cycles | Number of learning cycles to be performed. |
long | options | See the note below. |
HISTU | (Don't) store history of unit values at each update. |
HISTT | (Don't) store history of unit thetas at each update. |
HISTW | (Don't) store history of weights at each update. |
SAACCUM | (Don't) accumulate the delta's. |
SAUPDATE | (Don't) update the weights. |
SARNDPICK | (Don't) update one sample-pair at a time. |
SAVERBOSE | (Don't) print a counter when updating the units. |
Note that the HIST-flags and SAMANN-flags may be ORed. Furthermore, note the following for (SAACCUM, SAUPDATE) - triples:
0 | 0 | 0: Combination does not make sense (nothing is done). |
0 | 0 | 1: Yields no backpropagation, only updates. |
0 | 1 | 0: Yields only backpropagation, no updates. |
0 | 1 | 1: Specifies normal mode, i.e. backpropagation and update. |
This document was generated using api2html on Thu Mar 5 09:00:00 MET DST 1998