0

We know that Neural Network are usually designed for independent observations. This assumptions comes from the loss function where it is more easy to compute it when we have independent observations. But it is quite different when we have times series, for example the evolution of a stock index. If each observation is given by the date and the value of the stock index at this date, we know that each observation would be highly correlated. My questions are :

  1. If we use a RNN how the network will understand that the observation at time t depends on the observations on the previous time t-1, because when we use RNN for sentence in NLP for example, the utility of the RNN is we keep a track of the previous word but in the same observation, and here it is not the same observation so is the RNN capable to keep a track of an another observation ?

  2. Which model can I use to make prediction on time series data as the observations are not independent ? In other project for example bird classification on kaggle, we do know that all the Xi are independent (i represents the i-th image), but here I cannot find any good model that achieve a good score.

kjetil b halvorsen
  • 63,378
  • 26
  • 142
  • 467
  • SimilarQs, a dup in there: https://stats.stackexchange.com/questions/312797/is-it-possible-to-build-something-like-a-recurrent-neural-network-for-time-serie, https://stats.stackexchange.com/questions/291304/time-series-analysis-of-hybrid-data-with-rnn, https://stats.stackexchange.com/questions/193833/suggestions-for-neural-network-structure-for-time-series-prediction-with-constan, https://stats.stackexchange.com/questions/222584/difference-between-feedback-rnn-and-lstm-gru, – kjetil b halvorsen Mar 04 '20 at 13:37
  • ... https://stats.stackexchange.com/questions/160070/difference-between-time-delayed-neural-networks-and-recurrent-neural-networks, https://stats.stackexchange.com/questions/297970/cnn-vs-rnn-for-time-series-classification – kjetil b halvorsen Mar 04 '20 at 13:38

1 Answers1

0

LSTM and RNN are very good neural networks to forecast the future from the previous data values.

You may visit the link below to learn about time-series forecasting using NN

https://machinelearningmastery.com/time-series-prediction-lstm-recurrent-neural-networks-python-keras/

This link will answer part (i) of your question as well.

Kashan
  • 340
  • 2
  • 13