Decomposing the influences of uncertainty on learning