Categorical variables and standardization

Prapemrosesan untuk Machine Learning di Python

James Chapman

Curriculum Manager, DataCamp

Categorical variables

    state country       type
295    az      us      light
296    tx      us  formation
297    nv      us   fireball
  • One-hot encoding: pd.get_dummies()
Prapemrosesan untuk Machine Learning di Python

Standardization

  • .var()
  • np.log()
Prapemrosesan untuk Machine Learning di Python

Let's practice!

Prapemrosesan untuk Machine Learning di Python

Preparing Video For Download...