resample predictions