Implementing Gradient Descent From Scratch in 4 mins with Python

Опубликовано: 27 Апрель 2026
на канале: AI with Alex
1,914
38

Using the equations from the previous video, we implement them in Python to train a Linear Regression model.

Previous Video on how we Derived the formulas used:
   • The Vector Calculus Behind Gradient Descen...  

Python Notebook used in the video:
https://drive.google.com/file/d/17X4v...


TIMESTAMPS:
0:00 Intro
0:14 What we're trying to optimize
0:46 How we're optimizing it
1:09 Our Trained Model
1:30 Model Learning Curve
2:14 Our Parameter Surface
2:38 Gradient Field of the Cost Function
3:30 Visualizing the Gradient on our Surface
4:00 Outro