add generalization error to CSV