Gradient decent in Python
You want to implement gradient descent on a multivariate linear regression.

You can find an implementation in python here :
https://towardsdatascience.com/implementation-of-multi-variate-linear-regression-in-python-using-gradient-descent-optimization-b02f386425b9