'Fit the model using X as training data
Parameters
X : {array-like, sparse matrix, BallTree, KDTree}
Training data. If array or matrix, shape [n_samples, n_features],
or [n_samples, n_samples] if metric=\'precomputed\'.'

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

    return self._fit(X)
