stereo.core.StPipeline.adjusted_rand_score#
- StPipeline.adjusted_rand_score(cluster_res_key_a, cluster_res_key_b)[source]#
Calculate Adjusted Rand index between two cluster results.
The first cluster result can be seen as true labels while the second as predicted labels.
- Parameters:
cluster_res_key_a (
str
) – the key to get the first cluster result, defaults to Nonecluster_res_key_b (
str
) – the key to get the second cluster result, defaults to None