The four key ingredients when training any neural network