AdjustedRandIndex#

class AdjustedRandIndex(**kwargs)[source]#

Computes the Adjusted Rand Index (ARI).

__init__(**kwargs)#

Initializes the metric with optional parameters.

Methods

__init__(**kwargs)

Initializes the metric with optional parameters.

compute(y_true, y_pred, *[, scored_intervals])

Compute the Adjusted Rand Index with sklearn.metrics.adjusted_rand_score().