PosteriorNetworkRepresentation

class probly.method.posterior_network.PosteriorNetworkRepresentation(*args, **kwargs)[source]

Bases: Representation, Protocol

Pseudo-representation type marking outputs of the Posterior Network method.

A pure marker protocol used to route decompose() to a PostNet-specific decomposition. Constructed via PosteriorNetworkRepresentation.register_factory() on the PosteriorNetworkRepresenter’s represent method, which marks the underlying DirichletDistribution instance so it is recognised as a PostNet representation by the dispatch chain.