Solved – RNN for irregular time intervals

lstmmachine learningneural networksrecurrent neural networkunevenly-spaced-time-series

RNNs are remarkably good for capturing the time-dependence of sequential data. However, what happens when the sequence elements aren't equally spaced in time?

E.g., the first input to the LSTM cell happens on Monday, then no data from Tuesday to Thursday, and then finally new inputs for each of Friday, Saturday, Sunday. One possibility would be to have some kind of NULL vector being fed for Tuesday through Thursday, but that seems to be a silly solution, both because the NULL entries will contaminate the data and because it's a waste of resources.

Any ideas? How do RNNs handle such cases? If there are methods other than RNNs, I welcome those suggestions as well.

Best Answer

I just wrote a blog post on that topic!

In short, I write about different methods for dealing with the problem of sparse / irregular sequential data.

Here is a short outline of methods to try:

Hope this helps point you to the right direction :)

Related Question