Learning together and alone: Cooperation, competition, and individualization