Statistical Dynamics of Batch Learning