Fig. 1: ATM provides an efficient way to represent longitudinal comorbidity data.

Top left, input consists of disease diagnoses as a function of age. Top right, ATM assigns a topic weight to each patient. Bottom, ATM infers age-dependent topic loadings.