| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
base.parameterizedobject.ParameterizedObject --+
|
base.functionfamilies.OutputFn --+
|
base.functionfamilies.OutputFnWithState --+
|
ScalingOF
Scales input activity based on the current average activity (x_avg).
The scaling is calculated to bring x_avg for each unit closer to a specified target average. Calculates a scaling factor that is greater than 1 if x_avg is less than the target and less than 1 if x_avg is greater than the target, and multiplies the input activity by this scaling factor.
The updating parameter allows the updating of the average values to be disabled temporarily, e.g. while presenting test patterns.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
target = Number(default= 0.01, doc= Target average activity for each unit. |
|||
step = Number(default= 1, doc= How often to calculate the average activity and scaling factor. |
|||
smoothing = <topo.base.parameterclasses.Number object at 0x9daDetermines the degree of weighting of previous activity vs. |
|||
|
Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
Initialize this ParameterizedObject. The values of parameters can be supplied as keyword arguments to the constructor (using parametername=parametervalue); these values will override the class default values for this one instance. If no 'name' parameter is supplied, self.name defaults to the object's class name with a unique number appended to it. |
|
|
|||
targetTarget average activity for each unit.
|
stepHow often to calculate the average activity and scaling factor.
|
smoothingDetermines the degree of weighting of previous activity vs. current activity when calculating the average.
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0beta1 on Thu Feb 7 15:52:24 2008 | http://epydoc.sourceforge.net |