Relaxed Clipping: A Global Training Method for Robust Regression and Classification