以視覺化方式偵測冗餘特徵
資料視覺化是任何資料探索中關鍵的一步。 讓我們用 Seaborn 來探索美國陸軍 ANSUR 身體量測資料集的一些樣本。
兩個資料樣本已預先載入為 ansur_df_1 與 ansur_df_2。
Seaborn 已匯入為 sns。
本練習屬於課程
Python 的降維
動手互動練習
試著完成這個範例程式碼,體驗一下這個練習。
# Create a pairplot and color the points using the 'Gender' feature
sns.____(____, ____=_____, diag_kind='hist')
# Show the plot
plt.show()