The Langevin method in the statistical dynamics of learning