Package topo :: Package sheet :: Module cfsom :: Class CFSOM
[hide private]
[frames] | no frames]

Class CFSOM

                        object --+                    
                                 |                    
 param.parameterized.Parameterized --+                
                                     |                
        base.simulation.EventProcessor --+            
                                         |            
                            object --+   |            
                                     |   |            
base.sheetcoords.SheetCoordinateSystem --+            
                                         |            
                          base.sheet.Sheet --+        
                                             |        
               base.projection.ProjectionSheet --+    
                                                 |    
                                   base.cf.CFSheet --+
                                                     |
                                                    CFSOM

Kohonen Self-Organizing Map algorithm extended to support ConnectionFields.

This is an implementation of the Kohonen SOM algorithm extended to support ConnectionFields, i.e., different spatially restricted input regions for different units. With fully connected input regions, it should be usable as a regular SOM as well.

This implementation is obsolete and will be removed soon. Please see examples/cfsom_or.ty for current SOM support.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__init__(self, **params)
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
 
alpha(self)
Return the learning rate at a specified simulation time, using exponential falloff.
 
decay(self, time, half_life)
Exponential decay.
 
learn(self)
Call the learn() method on every CFProjection to the Sheet.
 
radius(self)
Return the radius at a specified simulation time, using exponential falloff.

Inherited from base.cf.CFSheet: release_unit_view, update_unit_view

Inherited from base.projection.ProjectionSheet: activate, input_event, override_plasticity_state, present_input, process_current_time, projections, restore_plasticity_state

Inherited from base.sheet.Sheet: activity_len, release_sheet_view, row_col_sheetcoords, sheet_cols, sheet_offset, sheet_rows, state_pop, state_push

Inherited from base.sheet.Sheet (private): _get_density

Inherited from base.simulation.EventProcessor: script_repr, send_output, start

Inherited from base.simulation.EventProcessor (private): _src_connect

Inherited from param.parameterized.Parameterized: __getstate__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, set_dynamic_time_fn, verbose, warning

Inherited from base.sheetcoords.SheetCoordinateSystem: closest_cell_center, matrix2sheet, matrixidx2sheet, sheet2matrix, sheet2matrixidx, sheetcoordinates_of_matrixidx

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  alpha_0 = <topo.param.Number object at 0x39337c0>
Initial value of the learning rate.
  learning_length = <topo.param.Number object at 0x39339e0>
Number of input presentations to use, by default.
  precedence = <topo.param.Number object at 0x3933958>
Allows a sorting order for Sheets, e.g.
  radius_0 = <topo.param.Number object at 0x39338d0>
Initial value of the neighborhood radius.

Inherited from base.cf.CFSheet: measure_maps

Inherited from base.projection.ProjectionSheet: apply_output_fn, dest_ports, divisive_constant, mask, multiplicative_constant, output_fn, src_ports

Inherited from base.sheet.Sheet: layout_location, nominal_bounds, nominal_density, plastic

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from base.sheet.Sheet: density

Inherited from base.sheetcoords.SheetCoordinateSystem: shape, xdensity, ydensity

Inherited from object: __class__

Method Details [hide private]

__init__(self, **params)
(Constructor)

 
x.__init__(...) initializes x; see x.__class__.__doc__ for signature
Overrides: object.__init__
(inherited documentation)

learn(self)

 
Call the learn() method on every CFProjection to the Sheet.
Overrides: base.projection.ProjectionSheet.learn

Class Variable Details [hide private]

precedence

Allows a sorting order for Sheets, e.g. in the GUI.
Value:
<topo.param.Number object at 0x3933958>