Cluster Embeddings Analysis
How well do foundation-model embeddings separate classes and data sources?
A toolkit to evaluate how well embeddings (for example from foundation models) are organised with respect to known labels: class labels, such as the presence of a disease, and source labels, such as the dataset each sample comes from. It computes clustering and separation metrics without training any classifier, so the labels are only used to measure the geometry already present in the embedding space. Code on GitHub.