categorical_distribution

Deciders for reducing representations to categorical distributions.

Submodules

numpy

NumPy-based deciders for reducing representations to categorical distributions.

torch

Torch implementations of deciders for categorical distributions.

Functions

categorical_from_maximin

Create a one-hot categorical distribution via the maximin decision rule.

categorical_from_mean

Create a categorical distribution from the mean of a representation.

mean_field_categorical

representation -> CategoricalDistribution.