def predict(self, X_test):
        y_proba = norm.cdf(super(BaseFMClassifier, self).predict(X_test))
        # convert probs to labels
        y_pred = np.zeros_like(y_proba, dtype=np.float64) + self.classes_[0]
        y_pred[y_proba > .5] = self.classes_[1]
        return y_pred
Return predictions
dataset/ETHPy150Open ibayer/fastFM/fastFM/base.py/BaseFMClassifier.predict