1. 学习
  2. /
  3. 课程
  4. /
  5. Dimensionality Reduction in Python

Connected

练习

Understanding the components

You'll apply PCA to the numeric features of the Pokemon dataset, poke_df, using a pipeline to combine the feature scaling and PCA in one go. You'll then interpret the meanings of the first two components.

All relevant packages and classes have been pre-loaded for you (Pipeline(), StandardScaler(), PCA()).

说明 1 / 共 4 个

undefined XP
    1
    2
    3
    4
  • Build the pipeline with the scaler and PCA, set the number of components to calculate to 2.