1

我使用 StandardScaler() 在预测之前缩放我的数据。现在我只想缩减预测值(使用 inverse_transform),但我无法这样做,因为它希望看到 4 个变量,而我只想从我的预测中缩减目标值。我怎样才能做到这一点?

#Error when i try to transform y_pred and y_test
operands could not be broadcast together with shapes (52,) (4,) (52,) 
4

0 回答 0