prior_network

probly.method.prior_network.prior_network(base: T) → T[source]

Create a Prior Network predictor from a base predictor based on [MG18].

Parameters:

base – The base logit classifier to be wrapped with a Dirichlet exp activation.

Returns:

The prior network predictor outputting a Dirichlet distribution.

Examples using probly.method.prior_network.prior_network

Prior Network on Two Moons

Prior Network on Two Moons

Prior Network on MNIST

Prior Network on MNIST