Compound random measures and their use in Bayesian non‐parametrics