plot_buyer_profile_heatmap#
- pymc_marketing.customer_choice.taste_profiles.plot_buyer_profile_heatmap(model, n_samples=300, ax=None)[source]#
(market × dimension)diverging heatmap of the average buyer’s taste vector.Each row is a market (sorted by avg price); each column is one random- coefficient dimension. Red cells mean the typical buyer scores above-modal on that dimension; blue means below-modal.
- Parameters:
- model
BayesianBLP A fitted model.
- n_samples
int Number of posterior draws.
- ax
matplotlibAxes, optional Pre-existing axis. When
Nonea new figure is created.
- model
- Returns: