# Lecture notes missing backpropagation equations

**URL:** <https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076>\
**Category:** NLP with Probabilistic Models\
**Tags:** week-module-4\
**Created:** [March 14, 2023, 6:42am UTC](https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076 "2023-03-14T06:42:33Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Izak\_van\_Zyl\_Marais](https://avatars.discourse-cdn.com/v4/letter/i/a183cd/32.png) [@Izak\_van\_Zyl\_Marais](https://community.deeplearning.ai/u/Izak_van_Zyl_Marais)\
**Post date:** [March 14, 2023, 6:42am UTC](https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076/1 "2023-03-14T06:42:33Z")

</div>

The lecture notes for course 2 week 4 ([https://community.deeplearning.ai/uploads/short-url/fc4IV56aXbmAu4qKlK0sh03NG9f.pdf](https://community.deeplearning.ai/uploads/short-url/fc4IV56aXbmAu4qKlK0sh03NG9f.pdf)) are missing the backpropagation equations:

 ![image](https://global.discourse-cdn.com/dlai/original/3X/a/6/a62b56a9dd44b36343603fbd50cc553bf7d68184.png)

From the video, this is what it should look like:

 ![image](https://global.discourse-cdn.com/dlai/original/3X/c/0/c0c416bfe2d25703c4e68deddf3c410bf10db3ac.jpeg)

These are needed to complete section `2.5 Backprop` of the assignment (where they are also not given).

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [March 14, 2023, 2:45pm UTC](https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076/2 "2023-03-14T14:45:25Z")

</div>

Hi @Izak_van_Zyl_Marais,

> [@NLP Course 2: Lecture Notes](https://community.deeplearning.ai/t/nlp-course-2-lecture-notes/64662/1):
>
> **Note:** These slides haven’t been maintained, and that you might find missing topics and incorrect information in them, as opposed to lecture videos, where we try to update the misinformation or errors as soon as we are aware of them. **We encourage that you make your own notes.**

We have a very clear note about missing information on the [page](https://community.deeplearning.ai/t/nlp-course-2-lecture-notes/64662).

As for the equations needed in the assignment. The code cell for back\_prop exercise has enough information within to help implement the code.

Best,  
Mubsi

---

<div class="post-metadata">

**Author:** ![Sia2](https://avatars.discourse-cdn.com/v4/letter/s/76d3ee/32.png) [@Sia2](https://community.deeplearning.ai/u/Sia2)\
**Post date:** [October 14, 2023, 3:25pm UTC](https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076/3 "2023-10-14T15:25:11Z")

</div>

Hi Mubsi,

I hope you are well, but I would have to politely disagree.

1. The lecture video misses the formula for the gradient of b2.

2. There are no comments aiding with the computation of the gradients in the code cell of the assignment.

3. On a pedagogic note, discrepancies between formulas in different places make it harder for learners. The simplifications in the Jupyter Notebook, don’t really make anything simpler. They drop, among other things, a constant. But most importantly they confuse beginners by, for example, juxtaposing ReLU with the step function.

4. I am also afraid your response sounds like an excuse and bad UX. People are paying for this course, so it would make sense to keep all materials updated and in sync with one another.

5. As a wider note, people who have pointed out that something is genuinely missing about this assignment in this forum have been brushed aside rather than taken seriously. Sometimes the user is right.

P.S. Great job for posting this, Izak.

---

<div class="post-metadata">

**Author:** ![Mubsi](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/mubsi/32/94983_2.png) [@Mubsi](https://community.deeplearning.ai/u/Mubsi)\
**Post date:** [October 16, 2023, 7:00am UTC](https://community.deeplearning.ai/t/lecture-notes-missing-backpropagation-equations/290076/4 "2023-10-16T07:00:24Z")

</div>

Hi Sia,

Thank you for your feedback.

Best,  
Mubsi
