link to notes on gradient descent/logistic regression.