類別變數與標準化

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...