NaturalPosteriorNetworkRepresentation¶
- class probly.method.natural_posterior_network.NaturalPosteriorNetworkRepresentation(*args, **kwargs)[source]¶
Bases:
Representation,ProtocolPseudo-representation type marking outputs of the Natural Posterior Network method.
A pure marker protocol used to route
decompose()to a NatPN-specific decomposition. Constructed viaNaturalPosteriorNetworkRepresentation.register_factory()on theNaturalPosteriorNetworkRepresenter’srepresentmethod, which marks the underlyingDirichletDistributioninstance so it is recognised as a NatPN representation by the dispatch chain.