Learning in a Smart City Environment