Machine Learning, Data Science, Linear Regression, Gradient Descent, Numpy.
q. Observe that the output is: y = m1X1 + mwX2 + m3X3 + m4X4 + m5X5 + q but this is the same as writing y = m1X1 + mwX2 + m3X3 + m4X4 + m5X5 +m6X6 provided that m6 = q and X6 is always equal to 1. We then need to add a feature of “1” concatenating it with the dataset we already have and also add q