def sample_polya(alpha_vec, n):
    prob = np.random.dirichlet(alpha_vec)
    n_vec = np.random.multinomial(n, prob)
    return n_vec
Iteratively execute a command on subsets of minions at a time
dataset/ETHPy150Open balajiln/mondrianforest/src/utils.py/sample_polya--crossover with--dataset/ETHPy150Open saltstack/salt/salt/client/__init__.py/LocalClient.cmd_batch