'Compute the embedding vectors for data X and transform X.
Parameters
X : array-like of shape [n_samples, n_features]
training set.
Returns
X_new : array-like, shape (n_samples, n_components)'

def fit_transform(self, X, y=None):

    self._fit_transform(X)
    return self.embedding_
