add notes for logistic regression loss function