Search in sources :

Example 1 with MinMaxThresholdDetectionModel

use of com.linkedin.thirdeye.anomalydetection.model.detection.MinMaxThresholdDetectionModel in project pinot by linkedin.

the class MinMaxThresholdFunction method init.

@Override
public void init(AnomalyFunctionDTO spec) throws Exception {
    super.init(spec);
    // Removes zeros from time series, which currently mean empty values in ThirdEye.
    TransformationFunction zeroRemover = new ZeroRemovalFunction();
    currentTimeSeriesTransformationChain.add(zeroRemover);
    detectionModel = new MinMaxThresholdDetectionModel();
    detectionModel.init(properties);
    mergeModel = new MinMaxThresholdMergeModel();
    mergeModel.init(properties);
}
Also used : ZeroRemovalFunction(com.linkedin.thirdeye.anomalydetection.model.transform.ZeroRemovalFunction) MinMaxThresholdMergeModel(com.linkedin.thirdeye.anomalydetection.model.merge.MinMaxThresholdMergeModel) MinMaxThresholdDetectionModel(com.linkedin.thirdeye.anomalydetection.model.detection.MinMaxThresholdDetectionModel) TransformationFunction(com.linkedin.thirdeye.anomalydetection.model.transform.TransformationFunction)

Aggregations

MinMaxThresholdDetectionModel (com.linkedin.thirdeye.anomalydetection.model.detection.MinMaxThresholdDetectionModel)1 MinMaxThresholdMergeModel (com.linkedin.thirdeye.anomalydetection.model.merge.MinMaxThresholdMergeModel)1 TransformationFunction (com.linkedin.thirdeye.anomalydetection.model.transform.TransformationFunction)1 ZeroRemovalFunction (com.linkedin.thirdeye.anomalydetection.model.transform.ZeroRemovalFunction)1