📅  最后修改于: 2022-03-11 14:45:35.015000             🧑  作者: Mango
from sklearn.preprocessing import StandardScaler
sc_X = StandardScaler()
sc_y = StandardScaler()
X = sc_X.fit_transform(X)
y = sc_y.fit_transform(y)