A simple logistic regression using gradient ascent.