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);
}
Aggregations