Skip to main content
. Author manuscript; available in PMC: 2017 Mar 8.
Published in final edited form as: JMLR Workshop Conf Proc. 2016 Dec 10;56:301–318.

Figure 1.

Figure 1

This diagram shows how we have applied RNNs to solve the problem of forecasting of next visits’ time and the codes assigned during each visit. The first layer simply embeds the high-dimensional input vectors in a lower dimensional space. The next layers are the recurrent units (here two layers), which learn the status of the patient at each timestamp as a real-valued vector. Given the status vector, we use two dense layers to generate the codes observed in the next timestamp and the duration until next visit.