Learning for models