To learn or not to learn