What distance function is used in `DeepPumas.cluster_subjects` DTW?

Hi, Domas.

Answering both questions:

  1. The default distance is SqEuclidean. You can change it with the dist kwarg
  2. medoids(ClusterResults) calls unique in clusterResults.assignments.cluster_center, so the vector is ordered as the cluster centers show up in that dataframe’s column. This can be verified by comparing the cluster_center column and medoids(res) shown in the question

Hope this helps.

Lucas.