Assignment 1: Linear & Logistic Regression Solution