'Performs inductive inference across the model.
Parameters
X : array_like, shape = [n_samples, n_features]
Returns
y : array_like, shape = [n_samples]
Predictions for input data'

def predict(self, X):

    probas = self.predict_proba(X)
    return self.classes_[np.argmax(probas, axis=1)].ravel()
