intersection_probability

probly.utils.intersection_probability = <flextype.singledispatch.Flexdispatch object>

Reduce probability intervals to their intersection probability [WSM+25].

Parameters:
  • lower – Lower bounds of shape (..., num_classes) as a torch tensor or a jax array.

  • upper – Upper bounds of the same type and shape as lower.

Returns:

Probability vectors of shape (..., num_classes).

Raises:

NotImplementedError – If no implementation is registered for the type of lower.

Examples using probly.utils.intersection_probability

Credal Net on MNIST

Credal Net on MNIST