plotting#

Plotting functions for the CLV module.

Functions

plot_customer_exposure(df[, linewidth, ...])

Plot the recency and T of DataFrame of customers.

plot_expected_purchases_over_time(model, ...)

Plot actual and expected purchases over time for a fitted BetaGeoModel or ParetoNBDModel.

plot_expected_purchases_ppc(model[, ppc, ...])

Plot a prior or posterior predictive check for the customer purchase frequency distribution.

plot_frequency_recency_matrix(model[, ...])

Plot expected purchases in future_t time periods as a heatmap based on customer population frequency and recency.

plot_probability_alive_matrix(model[, ...])

Plot probability alive matrix as a heatmap based on customer population frequency and recency.