Convex Optimization Example - Logistic Regression