Learning and acting in unknown and uncertain worlds