Stratification of diabetes in the context of comorbidities, using representation learning and topological data analysis