X_train, X_test = scaler(X_train, X_test) #对特征归一化 y_train, y_test = scaler(y_train, y_test) #对标签也归一化