Get startedGet started for free

Calculating Principal Components

You'll visually inspect a 4 feature sample of the ANSUR dataset before and after PCA using Seaborn's pairplot(). This will allow you to inspect the pairwise correlations between the features.

The data has been pre-loaded for you as ansur_df.

This exercise is part of the course

Dimensionality Reduction in Python

View Course

Hands-on interactive exercise

Have a go at this exercise by completing this sample code.

# Create a pairplot to inspect ansur_df
sns.____(____)

plt.show()
Edit and Run Code