Event boundary matching
An onset 0.4 s late counts as one miss and one false alarm.
Score event, segment, frame, PSDS, piPSDS, Brier and streaming metrics from Python or Rust. Delay a detector below and watch them disagree.
Pick a mistake to see its event F1, segment, frame and PSDS scores against the same three events. Red marks the share of a score that was lost. Compare all nine
Speech arrives as two pieces with a 0.5 s hole.
An onset 0.4 s late counts as one miss and one false alarm.
A hole costs only the segments it empties.
A 1.2 s hole in a 3 s event takes PSDS1 to zero and leaves PSDS2 at one.
Experimental: every second of delay lowers the area.
Red terms lower the score. Each metric page gives the full definition, and the PSDS formulas are checked against the library for every PSDS figure.
from sedmetrics import SEDMetrics
result = SEDMetrics.eval(
references=[(0, 0, 0.0, 1.0)],
predictions=[(0, 0, 0.05, 1.0)],
)
print(result.f1, result.n_correct)
No. It scores outputs you already have: events, score tracks, probabilities or alert logs.
Selected fixtures match sed_eval 0.2.1, sed_scores_eval 0.0.4 and scikit-learn. There is no parity evidence for psds_eval.
No. They are experimental, accept CREATE alerts only and have not been validated on real detector traces.
An undefined ratio is returned as None, never as NaN or a silent zero.
macOS arm64 and Linux x86_64 are the first tier. CI also runs a Windows job. Python 3.10 to 3.13 are supported.