1. Learn
  2. /
  3. Courses
  4. /
  5. Dimensionality Reduction in Python

Exercise

Visualizing the correlation matrix

Reading the correlation matrix of ansur_df in its raw, numeric format doesn't allow us to get a quick overview. Let's improve this by removing redundant values and visualizing the matrix using seaborn.

Seaborn has been pre-loaded as sns, matplotlib.pyplot as plt, NumPy as np and pandas as pd.

Instructions 1/4

undefined XP
    1
    2
    3
    4
  • Create the correlation matrix.
  • Visualize it using Seaborn's heatmap function.