setGroupBlockValues <group-list> <parameter> <value> [-type <link-type>]
This command sets the value of a parameter in the link block structures for all links of the specified type that are projecting to units in the groups listed. If no type is specified, all links to the groups will be affected.
The parameter field should be the name of a real-valued parameter
within the block structure. These include learningRate
,
momentum
, weightDecay
, randMean
,
and randRange
. value is the value for that
parameter.
Using a dash ("-") rather than a real value will indicate that the group's value for that parameter should be used. If the group's value is also NaN then the network-wide value will be used. Otherwise, the values specified here will override the group and network defaults.
This command does not change the network or group default values.
To do that, just do something like
"setObj learningRate <value>
" or
"setObj group(3).learningRate <value>
".
To make all bias links to the "output" group use the default range but have a mean of -1.0:
lens> setGroupBlockValues output randRange - -t bias lens> setGroupBlockValues output randMean -1.0 -t bias
To change the learning rate for all links into the group "hidden 2" except the bias links:
lens> setGroupBlockValues {"hidden 2"} learningRate 0.1 lens> setGroupBlockValues {"hidden 2"} learningRate - -type bias