Ensemble learning as model selection