ProbabilityIntervalsCredalSet

class probly.representation.credal_set.ProbabilityIntervalsCredalSet(*args, **kwargs)[source]

Bases: CategoricalCredalSet, Generic

A credal set defined by probability intervals over outcomes.

abstract property barycenter: T

Return the barycenter of the credal set.

abstractmethod classmethod from_sample(sample: Sample[T]) → Self[source]

Create a credal set from a finite sample.

Parameters:

sample – The sample to create the credal set from.

Returns:

The created credal set.

abstract property lower_bounds: Any

The lower probability bounds.

abstract property num_classes: int

Return the number of classes in the credal set.

protected_axes: ClassVar[dict[str, int]] = {'lower_bounds': 1, 'upper_bounds': 1}
type: ClassVar[Literal['categorical']] = 'categorical'
abstract property upper_bounds: Any

The upper probability bounds.

Examples using probly.representation.credal_set.ProbabilityIntervalsCredalSet

Plotting credal sets on the simplex

Plotting credal sets on the simplex

Plotting credal sets on a spider (radar) chart

Plotting credal sets on a spider (radar) chart

Probability-intervals credal set

Probability-intervals credal set