Learning From Aggregated Data