setHistoryLength - sets the size of the units' history arrays

USAGE

    setHistoryLength [<historyLength>]

DESCRIPTION

This command sets the network's historyLength parameter, which determines the size of the history arrays in each unit. The values in these arrays are used in some algorithms and by the Unit Viewer, but the user may wish to reduce the size of the arrays to save space in algorithms that don't require the history. A full history is needed for continuous networks but not for feed-forward or simple-recurrent nets or deterministic Boltzmann machines.

If not specified, historyLength will be set to the maximum useful value, which is the same as the network's maxTicks, or numTimeIntervals * numTicksPerInterval. A historyLength of zero will prevent the unit history arrays from being allocated or used.

EXAMPLES

To save space when training a Boltzmann machine, you might set the history length to 0:

    lens> setHistoryLength 0

If you want to inspect the performance of the Boltzmann machine in the Unit Viewer, you will want to reset the history length to the full size:

    lens> setHistoryLength

SEE ALSO

setTime


Last modified: Tue Jul 7 16:41:19 EDT 1998