Implementation of Multivariate Linear Regression

what will be the code for gradient function??

hi @ayushi1719
the code will be identical function will be similar to that of normal gradient descent function (like in linear regression) but with a slight change in formula ie with (yactual - yhat)*xi
u can refer to closed for solution of linear regression to with matrix multiplication with n features.

okey…
what will be the ‘x’ argument of scatter for the data with n features…??