tsdive.eval.worst_baseline_threshold
¶
worst_baseline_threshold(
baseline_scores: Iterable[float],
) -> float
The alarm threshold: the largest score the tool gave a baseline window.
Raises ValueError when baseline_scores is empty.
Examples:
>>> from tsdive.eval import worst_baseline_threshold
>>> worst_baseline_threshold([0.2, 0.5, 0.3])
0.5