(self, X)
return np.reshape(X, (X.shape[0], -1))
transform.
transform.
transform .
def transform(self, X):
        """transform. """
        return np.reshape(X, (X.shape[0], -1))
def transform ( self , X ) : return np . reshape ( X , ( X . shape [ 0 ] , - 1 ) )