Enum UncertaintyQuantificationMethod
Defines the supported uncertainty quantification strategies for inference.
public enum UncertaintyQuantificationMethod
Fields
Auto = 0Automatically selects a suitable method when possible, otherwise falls back to deterministic predictions.
BayesianNeuralNetwork = 3Uses Bayesian neural network sampling (e.g., Bayes-by-Backprop style layers) to estimate uncertainty.
ConformalPrediction = 6Uses conformal prediction to produce statistically valid intervals (regression) or prediction sets (classification).
DeepEnsemble = 2Uses a deep ensemble (multiple independently trained models) to estimate uncertainty.
LaplaceApproximation = 4Uses a Laplace approximation (typically diagonal) over model parameters to sample predictions.
MonteCarloDropout = 1Uses Monte Carlo Dropout by enabling dropout at inference and sampling multiple forward passes.
Swag = 5Uses SWAG (Stochastic Weight Averaging-Gaussian) to sample model parameters and estimate uncertainty.
Remarks
These options control how the system estimates predictive uncertainty during inference.
For Beginners: Some models can also tell you how confident they are. This enum lets you choose the strategy used to estimate that confidence.