Metric helpers

The tsseg.metrics namespace provides classes implementing common segmentation quality measures. Metrics share a __call__ signature accepting predictions and ground-truth annotations, and many expose extra helpers for per-segment analysis.

Change-point metrics

State-labelling metrics

Base protocol

All metrics inherit from tsseg.metrics.BaseMetric, which defines the common update/compute contract used by collection utilities. Refer to Getting started for integration examples.