clvkit.plotting.plot_prediction#
- plot_prediction(prediction, *, ax=None, bins=30, **kwargs)[source]#
Histogram the prediction across the customer base.
A per-customer prediction is a distribution, and its shape is the thing an analyst reads first — how many customers are near zero, where the tail is.
- Parameters:
prediction (Prediction)
ax (Axes | None)
bins (int)
- Return type:
Axes