📜  min max scaler sklearn - Python 代码示例

📅  最后修改于: 2022-03-11 14:45:14.594000             🧑  作者: Mango

代码示例1
from sklearn.preprocessing import MinMaxScaler

scaler = MinMaxScaler()
scaler.fit_transform(X_train)
scaler.transform(X_test)