カテゴリ変数と標準化

Pythonで学ぶMachine Learningの前処理

James Chapman

Curriculum Manager, DataCamp

カテゴリ変数

    state country       type
295    az      us      light
296    tx      us  formation
297    nv      us   fireball
  • ワンホットエンコーディング: pd.get_dummies()
Pythonで学ぶMachine Learningの前処理

標準化

  • .var()
  • np.log()
Pythonで学ぶMachine Learningの前処理

練習しましょう!

Pythonで学ぶMachine Learningの前処理

Preparing Video For Download...