adjusted_rand_score#

cuml.metrics.cluster.adjusted_rand_score(labels_true, labels_pred, convert_dtype=True) float[source]#

Adjusted_rand_score is a clustering similarity metric based on the Rand index and is corrected for chance.

Parameters:
labels_trueGround truth labels to be used as a reference
labels_predArray of predicted labels used to evaluate the model
Returns:
float

The adjusted rand index value between -1.0 and 1.0