Using multiple samples to learn mixture models