plot_brand_buyer_heatmap#
- pymc_marketing.customer_choice.taste_profiles.plot_brand_buyer_heatmap(model, n_samples=200, dim=0, ax=None)[source]#
(market × brand)diverging heatmap of brand-level buyer taste.Slices one taste dimension (
dim, default = price). Brands and markets are sorted by their average buyer taste / avg price respectively to put similar profiles next to each other.- Parameters:
- model
BayesianBLP A fitted model.
- n_samples
int Number of posterior draws.
- dim
int Which random-coefficient dimension to slice.
- ax
matplotlibAxes, optional Pre-existing axis.
- model
- Returns: