DOC: logistic regression update and example