📜  规范化数据python代码示例

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

代码示例3
from sklearn import preprocessing
normalizer = preprocessing.Normalizer().fit(X_train)  
X_train = normalizer.transform(X_train)
X_test = normalizer.transform(X_test)