Gradient Descent, Linear Regression, Machine Learning.
2(y-(mx+b))*-x . This can be rewritten as -2x(y-(mx+b)) . Great! We can rewrite this again to follow proper notation: Partial derivative with respect to m To derive with respect to b, we follow the same chain rule steps: ()² becomes 2() y-(mx+b) stays the same Here derivative of y-(mx+b) turns into