How does AI Studio calculate centroids for clusters?
Clusters are calculated according to a distance measure between the instances. Each cluster is represented by a centroid. Centroids are computed by using the mean for numeric fields and the mode for categorical fields. For text and items fields, AI Studio selects the values that minimize the average cosine distance between the centroid and the points in its neighborhood.