# Understanding Dropout Lecture Video

**URL:** <https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986>\
**Category:** Improving Deep Neural Networks: Hyperparameter tun\
**Tags:** coursera-platform\
**Created:** [June 9, 2021, 11:42am UTC](https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986 "2021-06-09T11:42:21Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Anbu](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Anbu](https://community.deeplearning.ai/u/Anbu)\
**Post date:** [June 9, 2021, 11:42am UTC](https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986/1 "2021-06-09T11:42:21Z")

</div>

Hi Sir,

What does it mean in the below bold highlighted statement? Can u please me to understand ?

1. I didn’t introduce,welcome to my code during drop out because you need other ways, I guess, **but not plotting these figures to make sure that your code is working,the gradient descent is working even with drop out.** So with that there’s still a few more regularization techniques that were feel knowing.Let’s talk about a few more such techniques in the next video. What does it mean here but not plotting…even with drop out cannot undertand what proff meaning ?

2. One other alternative might be to have some layers where you apply dropout and  
some layers where you don’t apply drop out and then just have **one hyper parameter which is a key prop for the layers for which you do apply drop out** and before we wrap up just a couple implantation all tips . { This is the content from lecture vide ]

Should we keep only one hyper parameter like one keepprob only for multiple layers that we are going to apply drop out ? or one keepprob for all nodes in the single layer ?

---

<div class="post-metadata">

**Author:** ![nramon](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/nramon/32/129097_2.png) [@nramon](https://community.deeplearning.ai/u/nramon)\
**Post date:** [June 11, 2021, 11:23pm UTC](https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986/2 "2021-06-11T23:23:47Z")

</div>

Hi, @Anbu.

> Should we keep only one hyper parameter like one keepprob only for multiple layers that we are going to apply drop out ? or one keepprob for all nodes in the single layer ?

There is no right or wrong answer. If you want to fine tune Dropout for each layer, set different values for `keep_prob` at the expense of having more hyperparameters to search for. If you would rather have less hyperparameters, define a single `keep_prob` for all the layers where you apply Dropout.

Regarding the first question, I think it means the loss plot is less reliable since Dropout is effectively introducing noise, but I could be wrong.

Let me know if that helped 🙂

---

<div class="post-metadata">

**Author:** ![Anbu](https://avatars.discourse-cdn.com/v4/letter/a/f4b2a3/32.png) [@Anbu](https://community.deeplearning.ai/u/Anbu)\
**Post date:** [June 13, 2021, 7:16am UTC](https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986/3 "2021-06-13T07:16:52Z")

</div>

Yes Sir loss plot is less reliable. So Proff andrew what try to mean other ways instead of not plotting figures to make sure gradient descen working even with dropout?

---

<div class="post-metadata">

**Author:** ![nramon](https://sea1.discourse-cdn.com/dlai/user_avatar/community.deeplearning.ai/nramon/32/129097_2.png) [@nramon](https://community.deeplearning.ai/u/nramon)\
**Post date:** [June 13, 2021, 3:56pm UTC](https://community.deeplearning.ai/t/understanding-dropout-lecture-video/12986/4 "2021-06-13T15:56:27Z")

</div>

I don’t think he’s referring to any specific method, if that’s what you’re asking. But turning off Dropout, running your code and making sure the loss is decreasing monotonically, as suggested in the lecture, may be enough to test your implementation 🙂
