DOC: add transpose and intercept to formula of logistic regression