Class TimeAverage

  • All Implemented Interfaces:
    DetectionAgentInterface

    public class TimeAverage
    extends Object
    implements DetectionAgentInterface
    Compute the average value of all evidences produced for this label and subject during this time window. Takes only one parameter:
    • time_window in seconds (default 3600 - 1h)
    Example configuration (2h.timeaverage.detection.yml):
     ---
     class_name:     be.cylab.mark.detection.TimeAverage
     label:          detection.2h.timeaverage
     trigger_label:  detection.2h.count
     parameters: {
       time_window : 7200
     }
     
    Author:
    Thibault Debatty