module change_detection.evaluation.measures.false_discovery_rate

False Discovery Rate Measure.

This function returns the false discovery rate, i.e. the fraction of false positives among all detected drifts.

Copyright (C) 2022 Johannes Haug.


function false_discovery_rate

false_discovery_rate(
    evaluator: float.change_detection.evaluation.change_detection_evaluator.ChangeDetectionEvaluator,
    drifts: list,
    n_delay: int
) → float

Calculates the false discovery rate of detected drifts.

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 false discovery rate of detected concept drifts.

This file was automatically generated via lazydocs.