normal_inverse_gamma_head

probly.transformation.normal_inverse_gamma_head(base: T) → T[source]

Replace the final linear layer with a Normal-Inverse-Gamma head based on [ASSR20].

Parameters:

base – The base model to be transformed.

Returns:

The transformed predictor.

Examples using probly.transformation.normal_inverse_gamma_head

Evidential Regression on a 1D Example

Evidential Regression on a 1D Example