probly.visualization.credal.credal_visualization¶
Public API to plot 2d, 3d or multidimensional data as credal sets.
Functions
|
Public API for credal sets; refers to the correct plotting method via input_handling. |
|
Plot credal sets based on intervals of lower and upper probabilities. |
|
Plot probability distributions on the simplex. |
- probly.visualization.credal.credal_visualization.create_credal_plot(input_data, labels=None, title=None, choice=None, minmax=None, *, show=True)[source]¶
Public API for credal sets; refers to the correct plotting method via input_handling.
- Parameters:
input_data (np.ndarray) – NumPy array with probabilities.
labels (list[str] | None) – List of labels corresponding to the input data.
title (str | None) – Custom or predefined title.
choice (str | None) – Either “MLE”, “Credal”, “Probability” or None.
minmax (bool | None) – Enables to show the Min/Max lines only for ternary plots.
show (bool) – Enables the user to decide whether to show the plot or not.
- Return type:
Axes