ResampledPredictor class