Resampling-Based Adaptive Model Selection