Course 1: Week 2 - Derivation of the cost function J with respect to w and b

Hi! I did not see Prof. Andrew derive partial differentiation of J with respect to w and b but we use it in the code (graded assignment 1) and I was just wondering how to derive those formulae. Can anyone help me out? Thanks!

Prof did mention that on “Logistics regression on m examples” video

Hi! Thanks for the reply. But I was referring to the partial differentiation of J with respect to w and b (see below) and not the update rule. I don’t see those equations in the “Logistics regression on m examples” video.

Welcome to the DL Specialization @pkrishan. You need to review and study the video “Vectorizing Logistic Regression’s Gradient Computation.”

1 Like

@kenb I see what you mean. Thanks so much!