First- and Second-Order Methods for Learning: Between Steepest Descent and Newton's Method