In-context learning and Occam's razor