Metrics#
We have implemented a user-friendly class for evaluation of disentanglement with respect to known discrete targets.
Benchmark for evaluating discrete disentanglement in latent representations. |
The following functions represent the similarity functions used in benchmarking:
Compute nearest neighbor alignment scores for all continuous variables. |
|
Compute local mutual information scores for all variables and categories. |
|
Compute Spearman correlation scores between continuous variables and categories. |
The following functions represent the aggregation functions used in benchmarking:
Compute the most similar averaging score for disentanglement evaluation. |
|
Compute the latent matching score for disentanglement evaluation. |
|
Compute the most similar gap score for disentanglement evaluation. |