Animations of Multiple Linear Regression with Python

Tobias Roeschl
Towards Data Science
7 min readOct 7, 2020

--

In this article, we aim to expand our capabilities in visualizing gradient descent to Multiple Linear Regression. This is the follow-up article to “Gradient Descent Animation: 1. Simple linear regression”. Just as we did before, our goal is to set up a model, fit the model to our training data using batch gradient descent while storing the parameter values for each epoch. Afterwards, we can use our stored data to create animations with Python’s celluloid module.

This is the revised version of an article about the same topic I uploaded on

--

--