probly.representation.credal_set.common¶
Common class representing credal sets.
Classes
Base class for credal sets. |
|
A credal set defined by the convex hull of a set of distributions. |
|
Base class for credal sets. |
|
A credal set over a finite set of distributions. |
|
A credal set defined by a distance metric around a central distribution. |
|
A credal set defined by probability intervals over outcomes. |
|
A credal set containing a single distribution. |
- class probly.representation.credal_set.common.CategoricalCredalSet[source]¶
-
Base class for credal sets.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)[source]¶
Create a credal set from a finite sample.
- type: CredalSetType = 'categorical'¶
- class probly.representation.credal_set.common.ConvexCredalSet[source]¶
Bases:
CategoricalCredalSet,GenericA credal set defined by the convex hull of a set of distributions.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)¶
Create a credal set from a finite sample.
- lower()¶
Compute the lower envelope of the credal set.
- Return type:
T
- upper()¶
Compute the upper envelope of the credal set.
- Return type:
T
- type: CredalSetType = 'categorical'¶
- class probly.representation.credal_set.common.CredalSet[source]¶
Bases:
ABCBase class for credal sets.
- type: CredalSetType¶
- class probly.representation.credal_set.common.DiscreteCredalSet[source]¶
Bases:
CategoricalCredalSet,GenericA credal set over a finite set of distributions.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)¶
Create a credal set from a finite sample.
- lower()¶
Compute the lower envelope of the credal set.
- Return type:
T
- upper()¶
Compute the upper envelope of the credal set.
- Return type:
T
- type: CredalSetType = 'categorical'¶
- class probly.representation.credal_set.common.DistanceBasedCredalSet[source]¶
Bases:
CategoricalCredalSet,GenericA credal set defined by a distance metric around a central distribution.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)¶
Create a credal set from a finite sample.
- lower()¶
Compute the lower envelope of the credal set.
- Return type:
T
- upper()¶
Compute the upper envelope of the credal set.
- Return type:
T
- type: CredalSetType = 'categorical'¶
- class probly.representation.credal_set.common.ProbabilityIntervalsCredalSet[source]¶
Bases:
CategoricalCredalSet,GenericA credal set defined by probability intervals over outcomes.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)¶
Create a credal set from a finite sample.
- lower()¶
Compute the lower envelope of the credal set.
- Return type:
T
- upper()¶
Compute the upper envelope of the credal set.
- Return type:
T
- type: CredalSetType = 'categorical'¶
- class probly.representation.credal_set.common.SingletonCredalSet[source]¶
Bases:
DiscreteCredalSet,GenericA credal set containing a single distribution.
- abstractmethod classmethod from_sample(sample, distribution_axis=-1)¶
Create a credal set from a finite sample.
- lower()¶
Compute the lower envelope of the credal set.
- Return type:
T
- upper()¶
Compute the upper envelope of the credal set.
- Return type:
T
- type: CredalSetType = 'categorical'¶