credal_set

Credal set representations.

Submodules

jax

Jax-backed categorical credal set representations.

numpy

NumPy-backed categorical credal set representations.

numpy_functions

Numpy array functions for credal sets.

torch

Torch-backed categorical credal set representations.

Classes

CategoricalCredalSet

Base class for credal sets.

ConvexCredalSet

A credal set defined by the convex hull of a set of distributions.

CredalSet

Base class for credal sets.

DirichletLevelSetCredalSet

A credal set defined as a Dirichlet density level set.

DiscreteCredalSet

A credal set over a finite set of distributions.

DistanceBasedCredalSet

A credal set defined by a distance metric around a central distribution.

ProbabilityIntervalsCredalSet

A credal set defined by probability intervals over outcomes.

SingletonCredalSet

A credal set containing a single distribution.

Functions

create_convex_credal_set

Create a convex credal set from a sample.

create_dirichlet_level_set_credal_set

Create a Dirichlet level set credal set from alpha parameters and a threshold.

create_discrete_credal_set

Create a discrete credal set from a sample.

create_distance_based_credal_set

Create a distance-based credal set from a sample.

create_distance_based_credal_set_from_center_and_radius

Create a distance-based credal set from a center distribution and a maximum distance.

create_probability_intervals

Create a probability-interval credal set from a sample.

create_probability_intervals_from_bounds

Create a probability-interval credal set from an array of predictions and lower and upper bounds.

create_probability_intervals_from_lower_upper_array

Create a probability-interval credal set from an array of lower and upper probabilities.

create_singleton_credal_set

Create a singleton credal set that contains a single categorical distribution.