EvidentialClassificationRepresenter¶
- class probly.method.evidential.classification.EvidentialClassificationRepresenter(predictor: Predictor[In, Out], *_args: CtrIn.args, **_kwargs: CtrIn.kwargs)[source]¶
Bases:
Representer[Any,In,EvidentialClassificationRepresentation,EvidentialClassificationRepresentation],Generic[In]Representer for evidential classification predictors.
Calls
predict()on the wrapped EDL predictor and marks the resultingDirichletDistributionas anEvidentialClassificationRepresentation, which letsdecompose()auto-route the output toEvidentialClassificationDecomposition.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.
- represent(*args: In.args, **kwargs: In.kwargs) EvidentialClassificationRepresentation[source]¶
Return a marked EDL representation for a given input.