Logistic Regression (Bridging Theory and Practice)