In these animations, I used one- and two-dimensional Gaussian functions to animate a couple of YouTube shorts! Check them out here.
One-dimensional Gaussian
Two-dimensional Gaussian
View the Python code which made the animations on GitHub
Simple Gradient Descent with Python This is a simple polynomial gradient descent. It is a naive implmentation that is not optimized or vectorized. It is meant to be a simple demo on how gradient descent can be accomplished. To keep it simple, it uses base Python. I don’t intend for it to be used for anything important!
Some Equations The “target” polynomial that will be fitted is defined as Eqn. 1: