You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pinot.apache.org by ji...@apache.org on 2018/11/14 23:47:01 UTC

[incubator-pinot] branch master updated: [TE] migrate minute-level and hourly properties (#3480)

This is an automated email from the ASF dual-hosted git repository.

jihao pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pinot.git


The following commit(s) were added to refs/heads/master by this push:
     new 19286f0  [TE] migrate minute-level and hourly properties (#3480)
19286f0 is described below

commit 19286f060303343d0cbe600b118499ee710ff2d8
Author: Jihao Zhang <ji...@linkedin.com>
AuthorDate: Wed Nov 14 15:46:57 2018 -0800

    [TE] migrate minute-level and hourly properties (#3480)
    
    migrate minute-level and hourly properties.
---
 .../anomaly/onboard/tasks/FunctionCreationOnboardingTask.java     | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/onboard/tasks/FunctionCreationOnboardingTask.java b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/onboard/tasks/FunctionCreationOnboardingTask.java
index 548e579..f06814b 100644
--- a/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/onboard/tasks/FunctionCreationOnboardingTask.java
+++ b/thirdeye/thirdeye-pinot/src/main/java/com/linkedin/thirdeye/anomaly/onboard/tasks/FunctionCreationOnboardingTask.java
@@ -324,20 +324,20 @@ public class FunctionCreationOnboardingTask extends BaseDetectionOnboardTask {
     AnomalyFunctionDTO anomalyFunctionSpec = new AnomalyFunctionDTO();
     switch (timeGranularity.getUnit()) {
       case MINUTES:
-        anomalyFunctionSpec.setType("CONFIDENCE_INTERVAL_SIGN_TEST");
+        anomalyFunctionSpec.setType("SIGN_TEST_WRAPPER");
         anomalyFunctionSpec.setCron("0 0/15 * * * ? *");
         anomalyFunctionSpec.setWindowSize(6);
         anomalyFunctionSpec.setWindowUnit(TimeUnit.HOURS);
         anomalyFunctionSpec.setFrequency(new TimeGranularity(15, TimeUnit.MINUTES));
-        anomalyFunctionSpec.setProperties("signTestWindowSize=24");
+        anomalyFunctionSpec.setProperties("variables.seasonalPeriod=P7D;module.training=nonparametric.SeasonalSlidingWindowTrainingModule;variables.slidingWindowWidth=8;variables.pattern=UP,DOWN;variables.anomalyRemovalThreshold=0.6,-0.6;module.data=SeasonalDataModule;variables.signTestStepSize=1;variables.pValueThreshold=0.05;function=ConfigurableAnomalyDetectionFunction;module.testingPreprocessors=DummyPreprocessModule;variables.seasonalCount=3;variables.signTestWindowSize=24;module.de [...]
         anomalyFunctionSpec.setRequiresCompletenessCheck(false);
         break;
       case HOURS:
-        anomalyFunctionSpec.setType("REGRESSION_GAUSSIAN_SCAN");
+        anomalyFunctionSpec.setType("REGRESSION_GAUSSIAN_SCAN_WRAPPER");
         anomalyFunctionSpec.setCron("0 0 * * * ? *");
         anomalyFunctionSpec.setWindowSize(24);
         anomalyFunctionSpec.setWindowUnit(TimeUnit.HOURS);
-        anomalyFunctionSpec.setProperties("");
+        anomalyFunctionSpec.setProperties("variables.isMajor=false;downgrade.variables.seasonalities=;function=SelfRecoverableAnomalyDetectionFunction;variables.pValueThreshold=0.01;variables.continuumOffset=P60D;module.detection=GaussianScanDetectionModule;variables.anomalyRemovalThreshold=1.0,-1.0;workflow=RegressionWorkflow;module.training=parametric.NullBasisRegressionTrainingModule;variables.seasonalities=HOURLY_SEASONALITY,DAILY_SEASONALITY;module.data=ContinuumDataModule;variables [...]
         anomalyFunctionSpec.setRequiresCompletenessCheck(false);
         break;
       case DAYS:


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@pinot.apache.org
For additional commands, e-mail: commits-help@pinot.apache.org