DirichletMixtureDistribution

class probly.representation.distribution.DirichletMixtureDistribution(*args, **kwargs)[source]

Bases: MixtureDistribution, Generic

Mixture distribution with Dirichlet components.

component_type[source]

alias of DirichletDistribution

abstract property components: D

Get the components of the mixture distribution.

entropy() → ArrayLike[source]

Compute entropy.

abstract property mixture_weights: Any

Get the mixture weights of the mixture distribution.

abstractmethod sample(num_samples: int) → Sample[T][source]

Draw samples from Distribution.

type: ClassVar[Literal['mixture']] = 'mixture'