Optimizing Linear Model Coefficients via Gradient Descent - Coding problem | OneNoughtOne