Standard Scaler

PHOTO EMBED

Tue Jan 19 2021 17:19:38 GMT+0000 (Coordinated Universal Time)

Saved by @savemeee #standardscaler #code #scalling

from sklearn.preprocessing import StandardScaler
sc = StandardScaler()
X_train = sc.fit_transform(X_train)
X_test = sc.fit_transform(X_test)
content_copyCOPY