corrects the scores for the test set during training