train-test and regularization to the distortion