1. Learn
  2. /
  3. Courses
  4. /
  5. Customer Segmentation in Python

Exercise

Plot relative importance heatmap

Great job! Now you will build a heatmap visualizing the relative scores for each cluster.

We have loaded the relative importance scores as relative_imp. The seaborn library is loaded as sns and the pyplot module from matplotlib is available as plt.

Instructions

100 XP
  • Initialize a plot with a figure size of 8 by 2 inches.
  • Add the plot title.
  • Plot the heatmap on relative_imp data.