TSGroups to manage training data in DistanceData format.