my dataset is a univariate time series with one column as months, other column having demands for the corresponding months. My test dataset has NaN vals only for all the months. Can LSTM be used in this case and if so, how? I tried using LSTM but only got NaN values. If you could help me out, that'd be great. Thanks!

  • $\begingroup$ I don't understand the first sentence but NNs do not understand strings, only numerical values. Hence, you should convert them. $\endgroup$ – Ben Jul 19 '19 at 11:04
  • $\begingroup$ I don't need the months as of now, so no need to convert them, my focus is the other column, which is the numeric demands, but since I have to forecast for the future months, I don't have any values, hence, NaN, like there is 12 months of numeric data and other 6 future months' demand needs to be forecasted. $\endgroup$ – Kartikay Jul 24 '19 at 5:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.