Model Selection, Uniform Inference And Nonparametric Regression