Learning in vision and robotics