Aggregation improves learning