rankme#

core.nn.metrics.rankme(x, normalize=True)[source]#

Effective rank of an (entities, dim) embedding: the entropy of its spectrum.

Return type:

float