During week 2 of Machine Learning Course by Andrew Ng we are given an exercise to implement linear regression. Which was divided into two parts the first part was done in my last post which was not efficient but I have posted what I actually came up ...