Activation function and training algorithm selection.