setUnitBlockValues - sets parameters for all links of a given type to a unit

USAGE

    setUnitBlockValues <unit-list> <parameter> <value>
        [-type <link-type>]

DESCRIPTION

This command sets the value of a parameter in the link block structures for all links of the specified type that are projecting to the units listed. If no type is specified, all links to the unit 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>".

EXAMPLES

To shut off all inputs (a form of lesioning) to units "hid:2" and "hid:3" in a way that will keep them off even if the network is re-randomized:

    lens> setBlockValues "hid:2 hid:3" randMean 0
    lens> setBlockValues "hid:2 hid:3" randRange 0
    lens> randUnitWeights "hid:2 hid:3"
    lens> freezeUnits    "hid:2 hid:3"

SEE ALSO

setBlockValues, setGroupBlockValues, randUnitWeights, freezeUnits


Last modified: Tue Apr 11 22:41:10 EDT 2000