When I rescale the predicted data using
scale = StandardScaler() y_pred = scale.inverse_transform(y_pred) y_pred
I\'m getting error like this