I am developing a prediction model in Python, based on a historical data of previous 45 quarters starting from q-1 of 2010. I am using LSTM for prediction. While trying to implement the following line:
y_perd_future = scaler.inverse_transform(forecast_copies)[:,0]
X = X.copy()
936 if self.with_std:
937 X *= self.scale_
938 if self.with_mean:
939 X += self.mean_
ValueError: operands could not be broadcast together with shapes (31,630,3) (32,) (31,630,3)
Please dont give me examples of small self created arrays. I am looking for advice in context of large data.
Humble Regards