Variabile categorice și standardizare

Preprocesare pentru Machine Learning în Python

James Chapman

Curriculum Manager, DataCamp

Variabile categorice

    state country       type
295    az      us      light
296    tx      us  formation
297    nv      us   fireball
  • Codificare one-hot: pd.get_dummies()
Preprocesare pentru Machine Learning în Python

Standardizare

  • .var()
  • np.log()
Preprocesare pentru Machine Learning în Python

Să exersăm!

Preprocesare pentru Machine Learning în Python

Preparing Video For Download...