4.4 Logistic Regression - Implementation

See Colab.