Perceptual similarity affects the learning curve