tsseg.metrics.WeightedAdjustedRandIndex
- class tsseg.metrics.WeightedAdjustedRandIndex(distance_func='linear', alpha=0.1, **kwargs)[source]
Computes the Weighted Adjusted Rand Index (WARI).
- __init__(distance_func='linear', alpha=0.1, **kwargs)[source]
Initializes the metric with optional parameters.
Methods
__init__([distance_func, alpha])Initializes the metric with optional parameters.
compute(y_true, y_pred, **kwargs)Computes the value of the metric.