CommencerCommencer gratuitement

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.

Cet exercice fait partie du cours

Dimensionality Reduction in Python

Afficher le cours

Exercice interactif pratique

Essayez cet exercice en complétant cet exemple de code.

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

plt.show()
Modifier et exécuter le code