CredalSetEntropyDecomposition

class probly.quantification.decomposition.entropy.CredalSetEntropyDecomposition(credal_set: CategoricalCredalSet, base: LogBase = None, approximate: Approximate = 'auto')[source]

Bases: AdditiveDecomposition, Generic

Entropy decomposition for categorical credal sets.

Total uncertainty is the upper entropy; aleatoric uncertainty is the lower entropy; epistemic uncertainty is their difference (upper minus lower). approximate selects how the lower entropy is computed, see lower_entropy(). The default "auto" computes it exactly when that is feasible and approximates it with a warning otherwise.

property aleatoric: AU

The aleatoric uncertainty of the decomposition.

approximate: Approximate
base: LogBase
canonical_notion[source]

alias of TotalUncertainty

property components: list[type[Notion]]

The components of the decomposition.

credal_set: CategoricalCredalSet
property epistemic: EU

The epistemic uncertainty of the decomposition.

get(k[, d]) → D[k] if k in D, else d.  d defaults to None.
get_canonical() → Notion[source]

Return the canonical notion of the decomposition.

get_notion(notion: type[N]) → N[source]

Return the component corresponding to the given notion.

items() → a set-like object providing a view on D's items
keys() → a set-like object providing a view on D's keys
property total: TU

The total uncertainty of the decomposition.

values() → an object providing a view on D's values

Examples using probly.quantification.decomposition.entropy.CredalSetEntropyDecomposition

Credal BNN on MNIST

Credal BNN on MNIST

Credal Ensembling on MNIST

Credal Ensembling on MNIST

Credal Net on MNIST

Credal Net on MNIST

Credal Relative Likelihood on MNIST

Credal Relative Likelihood on MNIST

Credal Wrapper on MNIST

Credal Wrapper on MNIST

Efficient Credal Prediction on MNIST

Efficient Credal Prediction on MNIST