'Computes the position of the points in the embedding space
Parameters
X : array, shape (n_samples, n_features) or (n_samples, n_samples)
Input data. If ``dissimilarity==\'precomputed\'``, the input should
be the dissimilarity matrix.
init : ndarray, shape (n_samples,), optional, default: None
Starting configuration of the embedding to initialize the SMACOF
algorithm. By default, the algorithm is initialized with a randomly
chosen array.'

def fit(self, X, y=None, init=None):

    self.fit_transform(X, init=init)
    return self
