"from numpy.random import *\n", "pr = np.random.dirichlet(np.repeat(0.15, k), n)\n", "pr = np.repeat(np.random.dirichlet(np.repeat(0.15, k), 1).reshape(-1), n ...
"Let us perform an experiment where we select 10 photos from the dataset and want to find out the probability that class1 occurs 1 time, class2 occurs 2 times, class3 occurs 1 time and class 4 occurs ...