BPt.extensions.Identity.transform#

Identity.transform(X)[source]#

Transform simply returns a flattened version of the passed X, making it compatible with downstream classifiers.

Parameters
Xnumpy.array

numpy.array with any shape, for one subject.

Returns
X_transnumpy.array

1D flattened array for this subject.