minor fixes learning_curves