Logistic Regression Regularized with Optimization