look at the scaler in sklearn. The mean from the train should be used