Variabel kategorikal dan standardisasi

Prapemrosesan untuk Machine Learning di Python

James Chapman

Curriculum Manager, DataCamp

Variabel kategorikal

    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

Standardisasi

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

Ayo berlatih!

Prapemrosesan untuk Machine Learning di Python

Preparing Video For Download...