| Trees | Indices | Help |
|
|---|
|
|
LISSOM sheet extended to allow joint auto-scaling of Afferent input projections.
An exponentially weighted average is used to calculate the average joint activity across all jointly-normalized afferent projections. This average is then used to calculate a scaling factor for the current afferent activity and for the afferent learning rate.
The target average activity for the afferent projections depends on the statistics of the input; if units are activated more often (e.g. the number of Gaussian patterns on the retina during each iteration is increased) the target average activity should be larger in order to maintain a constant average response to similar inputs in V1. The target activity for learning rate scaling does not need to change, because the learning rate should be scaled regardless of what causes the change in average activity.
|
|||
|
Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
target = param.Number(default= 0.045, doc= Target average activity for jointly scaled projections. |
|||
target_lr = param.Number(default= 0.045, doc= Target average activity for jointly scaled projections. |
|||
smoothing = param.Number(default= 0.999, doc= Influence of previous activity, relative to current, for computing the average. |
|||
apply_scaling = param.Boolean(default= True, doc= """Whether tWhether to apply the scaling factors. |
|||
precedence = param.Number(0.65)Allows a sorting order for Sheets, e.g. |
|||
name = <param.parameterized.String object at 0xb46372c>String identifier for this object. |
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Calculate current scaling factors based on the target and previous average joint activities. Keeps track of the scaled average for debugging. Could be overridden by a subclass to calculate the factors differently. |
Scale jointly normalized projections together. Assumes that the projections to be jointly scaled are those that are being jointly normalized. Calculates the joint total of the grouped projections, and uses this to calculate the scaling factor. |
Compute appropriate scaling factors, apply them, and collect resulting activity. Scaling factors are first computed for each set of jointly normalized projections, and the resulting activity patterns are then scaled. Then the activity is collected from each projection, combined to calculate the activity for this sheet, and the result is sent out.
|
Save this instance's state. For Parameterized instances, this includes the state of dynamically generated values. Subclasses that maintain short-term state should additionally save and restore that state using state_push() and state_pop(). Generally, this method is used by operations that need to test something without permanently altering the objects' state.
|
Restore the most recently saved state. See state_push() for more details.
|
|
|||
targetTarget average activity for jointly scaled projections.
|
target_lrTarget average activity for jointly scaled projections. Used for calculating a learning rate scaling factor.
|
smoothingInfluence of previous activity, relative to current, for computing the average.
|
apply_scalingWhether to apply the scaling factors.
|
precedenceAllows a sorting order for Sheets, e.g. in the GUI.
|
| Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Thu Aug 5 14:59:44 2010 | http://epydoc.sourceforge.net |