Dropout

Applies to: python, general

Dropout randomly disables activations during training so a neural network cannot rely too heavily on any one unit.

mask = rng.random(h.shape) > p
h = h * mask

See also: regularization, neural-network