method

Uncertainty-aware methods.

Submodules

batchensemble(base[, num_members, ...])

Create a BatchEnsemble predictor from a base predictor based on [WTB20].

bayesian(base[, use_base_weights, ...])

Create a Bayesian predictor from a base predictor based on [BCKW15].

calibration

Calibration method compatibility exports.

cast(base)

Return a predictor unchanged while optionally registering its predictor type.

conformal

Conformal method compatibility exports.

conformal_credal_set

Conformalized Credal Set Prediction implementation.

credal_bnn(base[, use_base_weights, ...])

Create a Credal BNN predictor from a base predictor based on [CDJ+24].

credal_dro(base, num_members[, reset_params])

Create a credal DRO predictor from a base predictor based on [WFC+26].

credal_ensembling(base, num_members[, ...])

Create a credal ensembling predictor from a base predictor based on [NZD25].

credal_net(base[, use_base_weights])

Create a Credal Net predictor from a base predictor based on [WSM+25].

credal_relative_likelihood(base, num_members)

Create a Credal Relative Likelihood predictor from a base predictor based on [LohrHMHullermeier25].

credal_wrapper(base, num_members[, reset_params])

Create a credal wrapper predictor from a base predictor based on [WCS+25].

dare(base, num_members[, reset_params])

Create a DARE predictor from a base predictor based on [dMDMV23].

ddu(base[, sn_coeff])

Add spectral normalization and a Gaussian density head based on [MKvA+23].

deup

Direct Epistemic Uncertainty Prediction (DEUP) method.

dropconnect(base[, p, rng_collection, rngs])

Create a DropConnect predictor from a base predictor based on [MYM+21].

dropout(base[, p, rng_collection, rngs, ...])

Create a Dropout predictor from a base predictor based on [GG16].

duq(base[, centroid_size, length_scale, gamma])

Replace the classifier head with an RBF centroid head based on [vASTG20].

efficient_credal_prediction(base)

Create an efficient credal predictor from a base predictor based on [HLohrM+26].

ensemble(base, num_members[, reset_params])

Create an ensemble predictor from a base predictor based on [LPB17].

evidential

Evidential methods for probly.

g_vbll(base[, prior_scale, noise_init, ...])

Wrap a model with a Generative Variational Bayesian Last Layer (G-VBLL).

graph_posterior_network(input_encoder, ...)

Create a Graph Posterior Network predictor.

het_net(base[, num_factors, temperature, ...])

Create a HetNets predictor from a base predictor base on [CMK+21].

laplace

Laplace approximation method.

mahalanobis(base[, feature_nodes, ...])

Turn a classifier into a Mahalanobis-distance OOD detector based on [LLLS18].

masksembles(base[, num_masks, scale])

Create a Masksembles predictor from a base predictor based on [DBBaqueF21].

natural_posterior_network

Natural posterior network method compatibility exports.

posterior_network

Posterior network method compatibility exports.

prior_network

Prior network method compatibility layer.

sngp(base[, name, n_power_iterations, ...])

Wrap a model with SNGP (Spectral-normalized Neural Gaussian Process) based on [LLP+20].

subensemble(base, num_heads[, head, ...])

Create a subensemble predictor from a base model and optional head based on [VT19].

swag(base[, max_rank, scale, rngs])

Create a SWAG predictor from a base predictor based on [MIG+19].

vbll(base[, variant, parameterization, ...])

Wrap a model with a Variational Bayesian Last Layer (VBLL).

Functions

batchensemble

Create a BatchEnsemble predictor from a base predictor based on [WTB20].

bayesian

Create a Bayesian predictor from a base predictor based on [BCKW15].

cast

Return a predictor unchanged while optionally registering its predictor type.

conformal_dirichlet_relative_likelihood

Create a credal predictor with Dirichlet level-set conformal sets.

conformal_inner_product

Create a credal predictor with inner-product-ball conformal sets.

conformal_kullback_leibler

Create a credal predictor with KL-ball conformal sets.

conformal_total_variation

Create a credal predictor with TV-ball conformal sets.

conformal_wasserstein_distance

Create a credal predictor with Wasserstein-ball conformal sets.

credal_bnn

Create a Credal BNN predictor from a base predictor based on [CDJ+24].

credal_dro

Create a credal DRO predictor from a base predictor based on [WFC+26].

credal_ensembling

Create a credal ensembling predictor from a base predictor based on [NZD25].

credal_net

Create a Credal Net predictor from a base predictor based on [WSM+25].

credal_relative_likelihood

Create a Credal Relative Likelihood predictor from a base predictor based on [LohrHMHullermeier25].

credal_wrapper

Create a credal wrapper predictor from a base predictor based on [WCS+25].

cuq_graph_neural_network

Create a CUQ-GNN predictor with graph-refined node features.

dare

Create a DARE predictor from a base predictor based on [dMDMV23].

ddu

Add spectral normalization and a Gaussian density head based on [MKvA+23].

dropconnect

Create a DropConnect predictor from a base predictor based on [MYM+21].

dropout

Create a Dropout predictor from a base predictor based on [GG16].

duq

Replace the classifier head with an RBF centroid head based on [vASTG20].

efficient_credal_prediction

Create an efficient credal predictor from a base predictor based on [HLohrM+26].

ensemble

Create an ensemble predictor from a base predictor based on [LPB17].

evidential_classification

Create an Evidential Deep Learning predictor based on [SKK18].

evidential_regression

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

g_vbll

Wrap a model with a Generative Variational Bayesian Last Layer (G-VBLL).

graph_posterior_network

Create a Graph Posterior Network predictor.

het_net

Create a HetNets predictor from a base predictor base on [CMK+21].

lop_graph_posterior_network

Create a linear opinion pooled Graph Posterior Network (LOP-GPN) predictor.

mahalanobis

Turn a classifier into a Mahalanobis-distance OOD detector based on [LLLS18].

masksembles

Create a Masksembles predictor from a base predictor based on [DBBaqueF21].

sngp

Wrap a model with SNGP (Spectral-normalized Neural Gaussian Process) based on [LLP+20].

subensemble

Create a subensemble predictor from a base model and optional head based on [VT19].

swag

Create a SWAG predictor from a base predictor based on [MIG+19].

vbll

Wrap a model with a Variational Bayesian Last Layer (VBLL).