Preventing overfitting
Use a model that has the right capacity:
enough to model the true regularities
not enough to also model the spurious
regularities (assuming they are weaker).
Standard ways to limit the capacity of a neural
net:
Limit the number of hidden units.
Limit the size of the weights.
Stop the learning before it has time to overfit.