'Given a bow vector of an input text, predict most probable label. Returns only the most likely label.
:param X: bow of input text
:return: tuple of first, the most probable label and second, its probability'

def predict(self, X):

    import numpy as np
    pred_result = self.predict_prob(X)
    sorted_indices = np.fliplr(np.argsort(pred_result, axis=1))
    return (sorted_indices, pred_result[:, sorted_indices])
