Package topo :: Package projection :: Module basic :: Class LeakyCFProjection
[hide private]
[frames] | no frames]

Class LeakyCFProjection

source code

                       object --+                
                                |                
param.parameterized.Parameterized --+            
                                    |            
         base.simulation.EPConnection --+        
                                        |        
               base.projection.Projection --+    
                                            |    
                         base.cf.CFProjection --+
                                                |
                                               LeakyCFProjection

A projection that has a decay_rate parameter so that incoming input is decayed over time as x(t) = input + x(t-1)*exp(-decay_rate), and then the weighted sum of x(t) is calculated.
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
source code
 
activate(self, input_activity)
Retain input_activity from the previous step in leaky_input_buffer and add a leaked version of it to the current input_activity.
source code

Inherited from base.cf.CFProjection: apply_learn_output_fn, cf, change_bounds, change_density, create_mask, get_view, learn, n_units

Inherited from base.cf.CFProjection (private): _cleanup

Inherited from base.projection.Projection: get_projection_view, override_plasticity_state, restore_plasticity_state

Inherited from base.simulation.EPConnection: remove, script_repr

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, state_pop, state_push, verbose, warning

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]
  decay_rate = param.Number(default= 1.0, bounds= (0, None), doc...
Input decay rate for each leaky synapse
  precedence = param.Number(default= 0.4)

Inherited from base.cf.CFProjection: allow_null_cfs, apply_output_fn_init, autosize_mask, cf_shape, cf_type, coord_mapper, learning_fn, learning_rate, nominal_bounds_template, response_fn, same_cf_shape_for_all_cfs, strength, weights_generator, weights_output_fn

Inherited from base.projection.Projection: activity_group, dest_port, output_fn, plastic, src_port

Inherited from base.simulation.EPConnection: delay, dest, private, src

Inherited from param.parameterized.Parameterized: name, print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__init__(self, **params)
(Constructor)

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

activate(self, input_activity)

source code 
Retain input_activity from the previous step in leaky_input_buffer and add a leaked version of it to the current input_activity. This function needs to deal with a finer time-scale.
Overrides: base.projection.Projection.activate

Class Variable Details [hide private]

decay_rate

Input decay rate for each leaky synapse
Value:
param.Number(default= 1.0, bounds= (0, None), doc= "Input decay rate for each leak\
y synapse")