TorchUncertaintyConformalRepresenter¶
- class probly.integrations.torch_uncertainty.TorchUncertaintyConformalRepresenter(predictor: Predictor[In, Out], *_args: CtrIn.args, **_kwargs: CtrIn.kwargs)[source]¶
Bases:
Representer[Any,In,Out,Out],Generic[In,Out]Representer for torch-uncertainty conformal classifiers.
Initialize the representer with a predictor.
- Parameters:
predictor – The predictor to be used for building representations.
- predict(*args: In.args, **kwargs: In.kwargs) R[source]¶
Predict the representation for a given input.
- predictor: Predictor[In, Out]¶