📅  最后修改于: 2022-03-11 14:45:14.594000             🧑  作者: Mango
from sklearn.preprocessing import MinMaxScaler
scaler = MinMaxScaler()
scaler.fit_transform(X_train)
scaler.transform(X_test)