aesara.tensor.random.categorical

Contents

aesara.tensor.random.categorical#

aesara.tensor.random.categorical = <aesara.tensor.random.basic.CategoricalRV object>[source]#

A categorical discrete random variable.

The probability mass function of categorical in terms of its N event probabilities p_1, \dots, p_N is:

P(k=i) = p_k

where \sum_i p_i = 1.