1 Like

Yes, J is the logistic cost, and yes, it needs to be differentiated. I think these are more important than how the slide was designed.

But if the logistic cost is differentiated, we donâ€™t get the expression in the uploaded slide ,right? How is that correct?

I remember the differentiation results were shown in at least one of the slides. Would you like to check again?

this one? I still donâ€™t find the cost function being plugged in for differentiation. If the cost function for logistic regression isnâ€™t there, then, this gradient descent and the gradient descent algorithm for linear regression has no difference. I still donâ€™t get itâ€¦

That was insightful! Evidently, logistic and linear regressionâ€™s gradient descent look the sameâ€¦

3 Likes

They look the same, if you grant that the f_wb equations are different - one includes sigmoid, the other does not.

2 Likes

Yeah I was also amazed when I saw that its same for both, except the value of f(x)

1 Like