Linear regression

, error_list value is increasing instead of decreasing , i think my code is right , i tried but can’t found any bugs

i am working on boston housing dataset

hey @Jituk48216 ,
you just need to correct your grad function .
its np.dot(X.T , ( predicted - actual ) ) i.e. np.dot(X.T , ( yhat - Y ) )

Just make these changes and your code will work absolutely fine and better.

I hope this would have resolved your doubt.
Thank You and Happy Learning :slightly_smiling_face:.

it worked , thank you so much sir :grinning::grinning: