running generalization error experiment