Package topo :: Package learningfn :: Module basic :: Class BCMFixed
[hide private]
[frames] | no frames]

Class BCMFixed

source code


Bienenstock, Cooper, and Munro (1982) learning rule with a fixed threshold.

(See Dayan and Abbott, 2001, equation 8.12) In the BCM rule, activities change only when there is both pre- and post-synaptic activity. The full BCM rule requires a sliding threshold (see CFPBCM), but this version is simpler and easier to analyze.

Requires some form of output_fn normalization for stability.

Nested Classes [hide private]

Inherited from param.parameterized.Parameterized: __metaclass__

Instance Methods [hide private]
 
__call__(self, input_activity, unit_activity, weights, single_connection_learning_rate)
Apply this learning function given the input and output activities and current weights.
source code

Inherited from param.parameterized.Parameterized: __getstate__, __init__, __repr__, __setstate__, __str__, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, set_default, set_dynamic_time_fn, set_param, state_pop, state_push, verbose, warning

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

Class Methods [hide private]

Inherited from param.parameterized.Parameterized: params, print_param_defaults

Class Variables [hide private]
  unit_threshold = param.Number(default= 0.5, bounds= (0, None),...
Threshold between LTD and LTP.
  name = <param.parameterized.String object at 0xb287a6c>
String identifier for this object.

Inherited from param.parameterized.Parameterized: print_level

Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

__call__(self, input_activity, unit_activity, weights, single_connection_learning_rate)
(Call operator)

source code 

Apply this learning function given the input and output activities and current weights.

Must be implemented by subclasses.

Overrides: base.functionfamily.LearningFn.__call__
(inherited documentation)

Class Variable Details [hide private]

unit_threshold

Threshold between LTD and LTP.
Value:
param.Number(default= 0.5, bounds= (0, None), doc= "Threshold between LTD and LTP.\
")