code_12.py 127 字节
Newer Older
ToTensor's avatar
ToTensor 已提交
1 2
X_train, X_test = scaler(X_train, X_test) #对特征归一化
y_train, y_test = scaler(y_train, y_test) #对标签也归一化