What's the usage of J(w,b) for logistic regression?

Hello @Jinyan_Liu , @Schwan_Ray ,

We use logistic regression’s cost function to derive logistic regression’s gradients as well. If you are looking for the steps to derive them, check out this post’s “Derivation steps 2: logistic regression”. You will see how it ends up the same look as the gradients for linear regression.

Cheers,
Raymond