Scaling

YU NA Joe·2022년 3월 31일
0

why do we need Feature scaling?

Suppose my feature... height, wegight, and BMI를 구하자
height, weight는 indevars , and BMI 는 dependent vars..

  • Feature는 magnitutde랑 units로 구성이 된다.
  • 위의 예시에서 magnitutde 는 hieght-> 170, weight-> 50 & units은 height -> cm/ weight kg?

scikit-learn에서 제공하는 스케일링들.

  1. StandardScaler - 기본 스케일. 평균과 표준편차 사용
  2. MinMaxScaler
  3. MaxAbsScaler
  4. RobustScaler

출처:
https://mkjjo.github.io/python/2019/01/10/scaler.html

0개의 댓글