A doubt when applying gradient descent on logistic regression

Dear Administrator,

Could you please guide me on this issue?

According to this lecture slide,

We have a cost function here,

We need to diffentiate the cost function before applying to gradient descent
image

I have tried many time but still couldn’t get the derivative as same as the result as shown in lecture slide

May i know if there is any solution?

Thank you.

The picture is taken from this learning material:

Supervised Machine Learning: Regression and Classification
→ Week 3
→ Gradient Descent Implementation
→ Time: 1:42 / 6.31

Check this YouTube guide of Eddy Shyu.

Hi @JJaassoonn
I think this link would help you, please check that and if you still confused about some thing tell me

Best Regards,
Abdelrahman