Methods, systems, and apparatus, including computer programs encoded on computer storage media, for using recurrent neural networks to analyze health events. One of the methods includes: processing each of a plurality of initial temporal sequences of health events to generate, for each of the initial temporal sequences, a respective network internal state of a recurrent neural network for each time step in the initial temporal sequence; storing, for each of the initial temporal sequences, one or more of the network internal states for the time steps in the temporal sequence in a repository; obtaining a first temporal sequence; processing the first temporal sequence using the recurrent neural network to generate a sequence internal state for the first temporal sequence; and selecting one or more initial temporal sequences that are likely to include health events that are predictive of future health events in the first temporal sequence.
Please help me write a proper abstract based on the patent claims. CLAIM: 1-20. (canceled) 21. A method comprising: obtaining a plurality of initial temporal sequences of health events, wherein each of the plurality of initial temporal sequences of health events is associated with a different patient, and wherein each of the initial temporal sequences comprises respective health-related data associated with the patient that is associated with the initial temporal sequence at each of a plurality of time steps; processing each of the plurality of initial temporal sequences of health events using a recurrent neural network to generate, for each of the initial temporal sequences, a respective network internal state of the recurrent neural network for each time step in the initial temporal sequence, wherein the recurrent neural network has been trained to receive input temporal sequences and, for each time step in each input temporal sequence, generate a network internal state for the time step and generate a prediction about the patient associated with the input temporal sequence from the network internal state for the time step; storing, for each of the plurality of initial temporal sequences, one or more of the network internal states generated for the time steps in the temporal sequence in an internal state repository; obtaining a first temporal sequence of health events that is associated with a current patient; processing the first temporal sequence of health events using the recurrent neural network to generate a sequence internal state for the first temporal sequence, wherein the sequence internal state is a network internal state for a last time step in the first temporal sequence; comparing the sequence internal state for the first temporal sequence to each of a plurality of the network internal states that are stored in the internal state repository to determine one or more network internal states that are similar to the sequence internal state; and selecting, as temporal sequences that are likely to include health events that are predictive of future health events that may become associated with the current patient, the initial temporal sequences corresponding to the similar network internal states. 22. The method of claim 21, wherein comparing the sequence internal state for the first temporal sequence to each of a plurality of the network internal states that are stored in the internal state repository to determine one or more network internal states that are similar to the sequence internal state comprises: computing, for each of the plurality of network internal states in the internal state repository, a respective similarity measure between the network internal state and the sequence internal state; and determining the similar network internal states from the similarity measures. 23. The method of claim 21, further comprising: associating each network internal state in the internal state repository with a respective time step and a respective initial temporal sequence for which the network internal state was generated. 24. The method of claim 23, further comprising: providing, for presentation to a user, data identifying, for each of the selected initial temporal sequences, the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated. 25. The method of claim 23, further comprising: computing, from the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated, a statistic for a particular health event identifying a frequency of occurrence of the particular health event; and providing the computed statistic for presentation to a user. 26. The method of claim 21, wherein the recurrent neural network is trained to generate, for each of the plurality of time steps in each input training sequence, a respective score for each of a plurality of possible health events from the network internal state for the time step, wherein the respective score for each of the possible health events represents a likelihood that the possible health event is a health event at a time step subsequent to the time step in the input training sequence. 27. The method of claim 21, wherein, for one or more of the time steps in each of the initial temporal sequences, the health-related data at the time step is a respective token from a predetermined vocabulary of tokens, each token in the vocabulary representing a different health event. 28. The method of claim 27, wherein, for one or more of the time steps in each of the initial temporal sequences, the health-related data at the time step is other health-related data classified as impacting the health of the patient. 29. A system comprising one or more computers and one or more storage devices storing instructions that when executed by the one or more computers cause the one or more computers to perform operations comprising: obtaining a plurality of initial temporal sequences of health events, wherein each of the plurality of initial temporal sequences of health events is associated with a different patient, and wherein each of the initial temporal sequences comprises respective health-related data associated with the patient that is associated with the initial temporal sequence at each of a plurality of time steps; processing each of the plurality of initial temporal sequences of health events using a recurrent neural network to generate, for each of the initial temporal sequences, a respective network internal state of the recurrent neural network for each time step in the initial temporal sequence, wherein the recurrent neural network has been trained to receive input temporal sequences and, for each time step in each input temporal sequence, generate a network internal state for the time step and generate a prediction about the patient associated with the input temporal sequence from the network internal state for the time step; storing, for each of the plurality of initial temporal sequences, one or more of the network internal states generated for the time steps in the temporal sequence in an internal state repository; obtaining a first temporal sequence of health events that is associated with a current patient; processing the first temporal sequence of health events using the recurrent neural network to generate a sequence internal state for the first temporal sequence, wherein the sequence internal state is a network internal state for a last time step in the first temporal sequence; comparing the sequence internal state for the first temporal sequence to each of a plurality of the network internal states that are stored in the internal state repository to determine one or more network internal states that are similar to the sequence internal state; and selecting, as temporal sequences that are likely to include health events that are predictive of future health events that may become associated with the current patient, the initial temporal sequences corresponding to the similar network internal states. 30. The system of claim 29, wherein comparing the sequence internal state for the first temporal sequence to each of a plurality of the network internal states that are stored in the internal state repository to determine one or more network internal states that are similar to the sequence internal state comprises: computing, for each of the plurality of network internal states in the internal state repository, a respective similarity measure between the network internal state and the sequence internal state; and determining the similar network internal states from the similarity measures. 31. The system of claim 29, the operations further comprising: associating each network internal state in the internal state repository with a respective time step and a respective initial temporal sequence for which the network internal state was generated. 32. The system of claim 31, the operations further comprising: providing, for presentation to a user, data identifying, for each of the selected initial temporal sequences, the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated. 33. The system of claim 31, the operations further comprising: computing, from the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated, a statistic for a particular health event identifying a frequency of occurrence of the particular health event; and providing the computed statistic for presentation to a user. 34. The system of claim 29, wherein the recurrent neural network is trained to generate, for each of the plurality of time steps in each input training sequence, a respective score for each of a plurality of possible health events from the network internal state for the time step, wherein the respective score for each of the possible health events represents a likelihood that the possible health event is a health event at a time step subsequent to the time step in the input training sequence. 35. The system of claim 29, wherein, for one or more of the time steps in each of the initial temporal sequences, the health-related data at the time step is a respective token from a predetermined vocabulary of tokens, each token in the vocabulary representing a different health event. 36. The system of claim 35, wherein, for one or more of the time steps in each of the initial temporal sequences, the health-related data at the time step is other health-related data classified as impacting the health of the patient. 37. One or more non-transitory computer storage media storing instructions that when executed by one or more computers cause the one or more computers to perform operations comprising: obtaining a plurality of initial temporal sequences of health events, wherein each of the plurality of initial temporal sequences of health events is associated with a different patient, and wherein each of the initial temporal sequences comprises respective health-related data associated with the patient that is associated with the initial temporal sequence at each of a plurality of time steps; processing each of the plurality of initial temporal sequences of health events using a recurrent neural network to generate, for each of the initial temporal sequences, a respective network internal state of the recurrent neural network for each time step in the initial temporal sequence, wherein the recurrent neural network has been trained to receive input temporal sequences and, for each time step in each input temporal sequence, generate a network internal state for the time step and generate a prediction about the patient associated with the input temporal sequence from the network internal state for the time step; storing, for each of the plurality of initial temporal sequences, one or more of the network internal states generated for the time steps in the temporal sequence in an internal state repository; obtaining a first temporal sequence of health events that is associated with a current patient; processing the first temporal sequence of health events using the recurrent neural network to generate a sequence internal state for the first temporal sequence, wherein the sequence internal state is a network internal state for a last time step in the first temporal sequence; comparing the sequence internal state for the first temporal sequence to each of a plurality of the network internal states that are stored in the internal state repository to determine one or more network internal states that are similar to the sequence internal state; and selecting, as temporal sequences that are likely to include health events that are predictive of future health events that may become associated with the current patient, the initial temporal sequences corresponding to the similar network internal states. 38. The computer storage media of claim 37, the operations further comprising: associating each network internal state in the internal state repository with a respective time step and a respective initial temporal sequence for which the network internal state was generated. 39. The computer storage media of claim 38, the operations further comprising: providing, for presentation to a user, data identifying, for each of the selected initial temporal sequences, the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated. 40. The computer storage media of claim 38, the operations further comprising: computing, from the health events in the selected initial temporal sequences that are at time steps subsequent to the time step for which the corresponding network internal state was generated, a statistic for a particular health event identifying a frequency of occurrence of the particular health event; and providing the computed statistic for presentation to a user.