DummyRepresenter

final class probly.representer.DummyRepresenter(predictor: Predictor[In, Out], *_args: CtrIn.args, **_kwargs: CtrIn.kwargs)[source]

Bases: Representer[Any, In, Out, Out], Generic[In, Out]

A dummy representer that simply calls the base predictor.

Initialize the representer with a predictor.

Parameters:

predictor – The predictor to be used for building representations.

__call__(*args: In.args, **kwargs: In.kwargs) → R[source]

Alias for the represent method.

predict(*args: In.args, **kwargs: In.kwargs) → R[source]

Predict the representation for a given input.

represent(*args: In.args, **kwargs: In.kwargs) → Out[source]

Build a representation for a given input.

Examples using probly.representer.DummyRepresenter

Quantile Regression Conformal Prediction — PyTorch

Quantile Regression Conformal Prediction — PyTorch

Credal Net Visualization

Credal Net Visualization

Credal Net on MNIST

Credal Net on MNIST

DDU on Two Moons

DDU on Two Moons

DDU on MNIST

DDU on MNIST

DEUP on Two Moons

DEUP on Two Moons

DEUP on MNIST

DEUP on MNIST

DUQ on Two Moons

DUQ on Two Moons

DUQ on MNIST

DUQ on MNIST

Generative Variational Bayesian Last Layers on Two Moons

Generative Variational Bayesian Last Layers on Two Moons

G-VBLL on MNIST

G-VBLL on MNIST

Mahalanobis OOD on Two Moons

Mahalanobis OOD on Two Moons

Mahalanobis OOD on MNIST

Mahalanobis OOD on MNIST

Prior Network on Two Moons

Prior Network on Two Moons

Prior Network on MNIST

Prior Network on MNIST

Posterior Network on Two Moons

Posterior Network on Two Moons