complete regularized logistic regression