module change_detection.evaluation.measures.time_between_false_alarms
Time Between False Alarms Measure.
This function returns the mean time between false alarms as introduced in: Bifet, Albert, et al. "CD-MOA: Change detection framework for massive online analysis." International Symposium on Intelligent Data Analysis. Springer, Berlin, Heidelberg, 2013.
Copyright (C) 2022 Johannes Haug.
function time_between_false_alarms
time_between_false_alarms(
evaluator: float.change_detection.evaluation.change_detection_evaluator.ChangeDetectionEvaluator,
drifts: list,
n_delay: int
) → float
Calculates the mean time between false alarms.
Args:
evaluator
: The ChangeDetectionEvaluator object.drifts
: List of time steps corresponding to detected concept drifts.n_delay
: The number of observations after a known concept drift, during which we count the detections made by the model as true positives.
Returns:
float
: The mean time between false alarms in number of observations.
This file was automatically generated via lazydocs.