def predict(X_test, X_train, y_train): clf = LSHForest() clf.fit(X_train, y_train) return clf.predict(X_test)