'"Fits the model to the training set X and returns the labels
(1 inlier, -1 outlier) on the training set according to the LOF score
and the contamination parameter.
Parameters
X : array-like, shape (n_samples, n_features), default=None
The query sample or samples to compute the Local Outlier Factor
w.r.t. to the training samples.
Returns
is_inlier : array, shape (n_samples,)
Returns -1 for anomalies/outliers and 1 for inliers.'

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

    return self.fit(X)._predict()
