def METHOD_NAME(self, X, y=None):
    """Compute the embedding vectors for data X
    Parameters
    ----------
    X : {array-like, sparse matrix, BallTree, KDTree, NearestNeighbors}
        Sample data, shape = (n_samples, n_features), in the form of a
        numpy array, precomputed tree, or NearestNeighbors
        object.
    Returns
    -------
    self : returns an instance of self.
    """
    self._fit_transform(X)
    return self