| Home | Trees | Indices | Help |
|
|---|
|
|
object --+
|
param.parameterized.Parameterized --+
|
simulation.EventProcessor --+
|
object --+ |
| |
sheetcoords.SheetCoordinateSystem --+
|
Sheet
The generic base class for neural sheets.
See SheetCoordinateSystem for how Sheet represents space, and EventProcessor for how Sheet handles time.
|
|||
|
Inherited from |
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
|
Inherited from Inherited from Inherited from Inherited from Inherited from Inherited from |
|||
|
|||
|
Inherited from |
|||
|
|||
__abstract = Truebool(x) -> bool |
|||
layout_location = param.NumericTuple(default= (-1,-1), precedeLocation for this Sheet in an arbitrary pixel-based space in which Sheets can be laid out for visualization. |
|||
nominal_bounds = BoundingRegionParameter(BoundingBox(radius= 0User-specified BoundingBox of the Sheet coordinate area covered by this Sheet. |
|||
nominal_density = param.Number(default= 10, constant= True, doUser-specified number of processing units per 1.0 distance horizontally or vertically in Sheet coordinates. |
|||
plastic = param.Boolean(True, doc= Setting this to False tells the Sheet not to change its permanent state (e.g. |
|||
precedence = param.Number(default= 0.1, softbounds= (0.0, 1.0)Allows a sorting order for Sheets, e.g. |
|||
|
Inherited from Inherited from |
|||
|
|||
|
density The sheet's true density (i.e. |
|||
|
Inherited from Inherited from |
|||
|
|||
Initialize this object as an EventProcessor, then also as a SheetCoordinateSystem with equal xdensity and ydensity. sheet_views is a dictionary that stores SheetViews, i.e. representations of the sheet for use by analysis or plotting code.
|
Temporarily override plasticity of medium and long term internal state. This function should be implemented by all subclasses so that it preserves the ability of the Sheet to compute activity, i.e. to operate over a short time scale, while preventing any lasting changes to the state (if new_plasticity_state=False). Any operation that does not have any lasting state, such as those affecting only the current activity level, should not be affected by this call. By default, simply saves a copy of the plastic flag to an internal stack (so that it can be restored by restore_plasticity_state()), and then sets plastic to new_plasticity_state. |
Restores plasticity of medium and long term internal state after a override_plasticity_state call. This function should be implemented by all subclasses to remove the effect of the most recent override_plasticity_state call, i.e. to restore plasticity of any type that was overridden. |
Pop the most recently saved state off the stack. See state_push() for more details.
|
Save the current state of this sheet to an internal stack. This method is used by operations that need to test the response of the sheet without permanently altering its state, e.g. for measuring maps or probing the current behavior non-invasively. By default, only the activity pattern of this sheet is saved, but subclasses should add saving for any additional state that they maintain, or strange bugs are likely to occur. The state can be restored using state_pop(). Note that Sheets that do learning need not save the values of all connection weights, if any, because plasticity can be turned off explicitly. Thus this method is intended only for shorter-term state.
|
|
|||
__abstractbool(x) -> bool Returns True when the argument x is true, False otherwise. The builtins True and False are the only two instances of the class bool. The class bool is a subclass of the class int, and cannot be subclassed.
|
layout_locationLocation for this Sheet in an arbitrary pixel-based space in which Sheets can be laid out for visualization.
|
nominal_boundsUser-specified BoundingBox of the Sheet coordinate area covered by this Sheet. The left and right bounds--if specified--will always be observed, but the top and bottom bounds may be adjusted to ensure the density in the y direction is the same as the density in the x direction. In such a case, the top and bottom bounds are adjusted so that the center y point remains the same, and each bound is as close as possible to its specified value. The actual value of this Parameter is not adjusted, but the true bounds may be found from the 'bounds' attribute of this object.
|
nominal_densityUser-specified number of processing units per 1.0 distance horizontally or vertically in Sheet coordinates. The actual number may be different because of discretization; the matrix needs to tile the plane exactly, and for that to work the density might need to be adjusted. For instance, an area of 3x2 cannot have a density of 2 in each direction. The true density may be obtained from either the xdensity or ydensity attribute (since these are identical for a Sheet).
|
plasticSetting this to False tells the Sheet not to change its permanent state (e.g. any connection weights) based on incoming events.
|
precedenceAllows a sorting order for Sheets, e.g. in the GUI.
|
|
|||
densityThe sheet's true density (i.e. the xdensity, which is equal to the ydensity for a Sheet.)
|
| Home | Trees | Indices | Help |
|
|---|
| Generated by Epydoc 3.0.1 on Sun Oct 12 22:26:31 2008 | http://epydoc.sourceforge.net |