Prefer this mix-in over
Transformin question is
Vectorizableas this adds
from_vector()variants to the
Invertibleinterface. These can be tuned for performance, and are, for instance, needed by some of the machinery of fit.
The pseudoinverse of the transform - that is, the transform that results from swapping source and target, or more formally, negating the transforms parameters. If the transform has a true inverse this is returned instead.
The vectorized pseudoinverse of a provided vector instance. Syntactic sugar for:
Can be much faster than the explict call as object creation can be entirely avoided in some cases.
(n_parameters,)ndarray) – A vectorized version of
(n_parameters,)ndarray) – The pseudoinverse of the vector provided
Trueif the pseudoinverse is an exact inverse.