Selecting models and learning curves