[P] Linear Regression with Python • /r/MachineLearning

#artificialintelligence 

You can solve that optimisation problem using both gradient descent and as a closed-form solution, although for really big datasets it is preferable to use the former since calculating the inverse would be really computationally costly.