Regression with a perceptron and derivatives

I'm taking the Deeplearning.AI course; Calculus for Machine Learning and Data Science as a refresh between semesters in my masters at Georgia Tech.

We covered gradient descent, and how derivatives and cost functions make it work.

I understand y and yHat are part of L(y,yhat) but no idea why he picked different parts out.

As he's explaining linear regression using gradient descent, I can't figure out why he's doing derivatives like this.

https://preview.redd.it/6n1l1i0f90tg1.png?width=689&format=png&auto=webp&s=8716dde73077e5a9b505254ab1574fc4ccfb3b4c

Posted Apr 3, 2026, 4:53 PM UTC

34
Loading comments…