Machine Learning, Data Science, Artificial Intelligence, Mathematics, Theory.
with respect to w. But, as we can see in Step — 3, our cost function f(w) is a function of ŷ. So, here we will use the chain rule. Figure — 4: Finding the first derivative of the Mean Squared Error Step — 5: In this step, we are calculating the first part of the partial derivative. Figure — 5: