Fix predict method of logistic regression.
Document softmax regression.