ddu¶
- probly.method.ddu(base: Predictor[In, Out], sn_coeff: float = 3.0) DDUPredictor[In, Out][source]¶
Add spectral normalization and a Gaussian density head based on [MKvA+23].
- Parameters:
base – Base classification model to be transformed.
sn_coeff – Lipschitz coefficient for spectral normalization.
- Returns:
The transformed DDU predictor.