create_singleton_credal_set¶
- probly.representation.credal_set.create_singleton_credal_set = <flextype.singledispatch.Flexdispatch object>¶
Create a singleton credal set that contains a single categorical distribution.
- Parameters:
distribution – The categorical distribution, or an array of probabilities with the classes along the last axis.
- Returns:
The created singleton credal set.