Linear mapping between multidimensional spaces.
This class cannot be used directly. Sub-classes have to implement the _train() method, which has to compute the projection matrix _proj and optionally offset vectors _offset_in and _offset_out (if initialized with demean=True, which is default) given a dataset (see _train() docstring for more information).
Once the projection matrix is available, this class provides functionality to perform forward and backwards linear mapping of data, the latter by default using pseudo-inverse (but could be altered in subclasses, like hermitian (conjugate) transpose in case of SVD). Additionally, ProjectionMapper supports optional selection of arbitrary component (i.e. columns of the projection matrix) of the projection.
Forward and back-projection matrices (a.k.a. projection and reconstruction) are available via the proj and recon properties.
Notes
Available conditional attributes:
(Conditional attributes enabled by default suffixed with +)
Initialize the ProjectionMapper
Parameters : | demean : bool
enable_ca : None or list of str
disable_ca : None or list of str
|
---|
Projection matrix
Backprojection matrix