Exercise

Conduct PCA

PCA takes in transformed numerical features and creates components of the linear combinations of the original numerical features. For this exercise we will be using the Pokemon data set poke_df composed of 12 features of Pokemon types. Once you preprocess the data, you can continue with PCA.

Instructions 1/2

undefined XP
    1
    2
  • Create a data frame poke_x of the six numerical features in the Pokemon dataset: hp, attack, defense, spatk, spdef, and speed.