Solved regularized logistic regression