Predicting ad click-through with logistic regression using gradient descent