A layer of a neural network has a few units. Each one has an activation: the number it passes on to the next layer. To stop the network leaning on any one unit, training makes units randomly not show up: each shows up with chance keep_chance, and this time the coin flips came out as kept (1 = showed up, 0 = didn’t). Write drop(activations, kept, keep_chance): what the layer passes on this time.
A layer of 4 units. After training every unit shows up; in training each shows up with chance 0.5, and a no-show passes on 0. Watch what the next layer gets, round after round, against what it gets once training is over.
drop(activations, kept, keep_chance)| activations | what each unit would pass on | e.g. [3, −1, 2, 5] |
| kept | this time's coin flips, 1 = showed up, 0 = didn't | e.g. [1, 0, 1, 0] |
| keep_chance | the chance each unit shows up | e.g. 0.5 |
| returns | what the layer passes on this time, one number per unit | |