Possible error in lecture slides

DLS Course 1: Lecture Notes - In slide 33 of C1_w2.pdf (https://community.deeplearning.ai/uploads/short-url/zWmJABeU2UIO9iripYpx3VPRqpV.pdf) - dz(i) is a(i)* (1 - a(i)) while it should be (a(i) - y(i)). This seems to be corrected in the videos.

1 Like

Hi Sriram_Kollipara,

Thanks for your post, which will help current and future learnings! For anyone reading this post, do note that the lecture notes are not updated, and that you are encouraged to make your own notes.

Hello Sriram.
I too noticed this error and wanted to confirm your post.

I also struggled through this, but had to work out the math.

“dz” = a-y

dL/da. = -y/a+(1-y)/(1-a)
da/dz = a(1-a)

You can workout above with the later two equations using the chain rule.
“dz” = dL/dz = dL/da*da/dz

1 Like

As a former teacher I just can’t get over how astonishingly lazy it is to simply declare that the lecture notes are just “not updated”.

This course has literally eight hundred thousand enrolments on Coursera as of November 2023. If a typo in the formulas costs just one second of being confused on average per viewer, that’s more than nine days of wasted human life in aggregate.