Accumulate error over full training set.