A class of unconstrained minimization methods for neural network training