def predict(self, X):
        d = self._decision_function(X)
        y_pred = self.classes_.take(d.argmax(1))
        return y_pred
Perform classification on an array of test vectors X.
dataset/ETHPy150Open scikit-learn/scikit-learn/sklearn/discriminant_analysis.py/QuadraticDiscriminantAnalysis.predict