在《Python機器學習及實踐》中,發現對數據標準化操做有些疑問,代碼以下:機器學習
X_train = vec.fit_transform(X_train) X_test = vec.fit_transform(X_test)