Package mdp :: Package utils :: Class CrossCovarianceMatrix
[hide private]
[frames] | no frames]

Class CrossCovarianceMatrix


Instance Methods [hide private]
 
_init_internals(self, x, y)
Inits some internals structures.
 
fix(self)
Returns a triple containing the covariance matrix, the average and the number of observations.
 
update(self, x, y)
Update internal structures.

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

    Inherited from CovarianceMatrix
 
__init__(self, dtype=None, bias=False)
If dtype is not defined, it will be inherited from the first data bunch received by 'update'.
Properties [hide private]

Inherited from object: __class__

Method Details [hide private]

_init_internals(self, x, y)

 
Inits some internals structures. The reason this is not done in
the constructor is that we want to be able to derive the input
dimension and the dtype directly from the data this class receives.

Overrides: CovarianceMatrix._init_internals
(inherited documentation)

fix(self)

 
Returns a triple containing the covariance matrix, the average and
the number of observations. The covariance matrix is then reset to
a zero-state.

Overrides: CovarianceMatrix.fix
(inherited documentation)

update(self, x, y)

 
Update internal structures.

Overrides: CovarianceMatrix.update
(inherited documentation)