Back to models
Metric

WindowedF1Score

F1-score for event detection, using a margin-based match criterion.

Quickstart

python
from sktime.performance_metrics.detection import WindowedF1Score

estimator = WindowedF1Score(margin=0)

Parameters(1)

marginint, optional (default=0)
Margin of error to consider a detected event as matched.