tsseg.metrics.StateMatchingScore

class tsseg.metrics.StateMatchingScore(weights=None, **kwargs)[source]

Computes the State Matching Score (SMS).

__init__(weights=None, **kwargs)[source]

Initializes the metric with optional parameters.

Methods

__init__([weights])

Initializes the metric with optional parameters.

compute(y_true, y_pred, **kwargs)

Computes the value of the metric.

Attributes

DEFAULT_WEIGHTS