CommencerCommencer gratuitement

Visually detecting redundant features

Data visualization is a crucial step in any data exploration. Let's use Seaborn to explore some samples of the US Army ANSUR body measurement dataset.

Two data samples have been pre-loaded as ansur_df_1 and ansur_df_2.

Seaborn has been imported as sns.

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 and color the points using the 'Gender' feature
sns.____(____, ____=_____, diag_kind='hist')

# Show the plot
plt.show()
Modifier et exécuter le code