Package topo :: Package base :: Module functionfamilies :: Class LearningFn
[hide private]
[frames] | no frames]

Class LearningFn

source code

                             object --+    
                                      |    
parameterizedobject.ParameterizedObject --+
                                          |
                                         LearningFn
Known Subclasses:
learningfns.basic.BCMFixed, learningfns.basic.CPCA, learningfns.basic.Covariance, learningfns.basic.Oja, Hebbian, IdentityLF

Abstract base class for learning functions that plug into CFPLF_Plugin.

Nested Classes [hide private]

Inherited from parameterizedobject.ParameterizedObject: __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 parameterizedobject.ParameterizedObject: __getstate__, __init__, __repr__, __setstate__, __str__, as_uninitialized, debug, defaults, force_new_dynamic_value, get_param_values, get_value_generator, inspect_value, message, print_param_values, script_repr, verbose, warning

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

Class Methods [hide private]

Inherited from parameterizedobject.ParameterizedObject: params, print_param_defaults

Class Variables [hide private]
  __abstract = True
bool(x) -> bool

Inherited from parameterizedobject.ParameterizedObject: name, 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.


Class Variable Details [hide private]

__abstract

bool(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.

Value:
True