A computer system for generating a quantitative value relating to a negative health outcome, the computer system comprising: a conversion module configured to receive multiple sets of data items associated with patients and each comprising a descriptor and the time at which that event impacted the patient. The conversion module generates a training data structure which comprises for each patient an array of selected features, each selected feature associated with a numerical value representing a score indicative of the relevance of that feature to the prediction of the negative health outcome, and a label indicating if the patient exhibits the negative health outcome; and a machine learning model which is trained using the training data structure so as to be operable to generate a quantitative value relating to a negative health outcome for a patient with at least some of the features.
展开▼