Logistic regression notes.