Mean shift clustering groups data points without knowing the number of groups beforehand. To check how well it works, we use Silhouette Score and Calinski-Harabasz Index. These metrics tell us how tight and separate the groups are.
Silhouette Score ranges from -1 to 1. A higher score means points are closer to their own group and far from others, which is good.
Calinski-Harabasz Index measures the ratio of distances between groups to distances within groups. Higher values mean clearer group separation.
Since mean shift does not use labels, we cannot use accuracy or precision. Instead, these clustering metrics help us understand the quality of the groups found.