Package mdp :: Class ExtensionNodeMetaclass
[hide private]
[frames] | no frames]

Type ExtensionNodeMetaclass


This is the metaclass for node extension superclasses.

It takes care of registering extensions and the attributes in the extension.

Instance Methods [hide private]

Inherited from type: __call__, __delattr__, __eq__, __ge__, __getattribute__, __gt__, __hash__, __init__, __instancecheck__, __le__, __lt__, __ne__, __repr__, __setattr__, __subclasscheck__, __subclasses__, mro

Inherited from object: __format__, __reduce__, __reduce_ex__, __sizeof__, __str__, __subclasshook__

Static Methods [hide private]
a new object with type S, a subtype of T

__new__(cls, classname, bases, members)
Create new node classes and register extensions.
    Inherited from NodeMetaclass
 
_function_infodict(func)
Returns an info dictionary containing:
 
_get_infos(pubmethod)
 
_select_private_methods_to_wrap(cls, members)
Select private methods that can overwrite the public docstring.
 
_wrap_function(original_func, wrapper_infodict)
Return a wrapped version of func.
 
_wrap_method(wrapper_infodict, cls)
Return a wrapped version of func.
Class Variables [hide private]
    Inherited from NodeMetaclass
  DOC_METHODS = ['_train', '_stop_training', '_execute', '_inver...
Properties [hide private]

Inherited from type: __abstractmethods__, __base__, __bases__, __basicsize__, __dictoffset__, __flags__, __itemsize__, __mro__, __name__, __weakrefoffset__

Inherited from object: __class__

Method Details [hide private]

__new__(cls, classname, bases, members)
Static Method

 

Create new node classes and register extensions.

If a concrete extension node is created then a corresponding mixin class is automatically created and registered.

Returns:
a new object with type S, a subtype of T

Overrides: object.__new__