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 2019/07/17 23:28:19 UTC

[incubator-pinot] branch master updated: [TE] add ml auto config into YAML template (#4423)

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 e897271  [TE] add ml auto config into YAML template (#4423)
e897271 is described below

commit e897271b4913ef60efe174d2a8df938d4fa14ebc
Author: Jihao Zhang <ji...@linkedin.com>
AuthorDate: Wed Jul 17 16:28:14 2019 -0700

    [TE] add ml auto config into YAML template (#4423)
    
    Add the ml auto-config into the default YAML template.
---
 thirdeye/thirdeye-frontend/app/utils/constants.js                       | 1 +
 .../tests/integration/pods/components/yaml-editor/component-test.js     | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)

diff --git a/thirdeye/thirdeye-frontend/app/utils/constants.js b/thirdeye/thirdeye-frontend/app/utils/constants.js
index fbfc3c4..4fd9836 100644
--- a/thirdeye/thirdeye-frontend/app/utils/constants.js
+++ b/thirdeye/thirdeye-frontend/app/utils/constants.js
@@ -27,6 +27,7 @@ rules:                            # Can configure multiple rules with "OR" relat
         configuration:
           bucketPeriod: P1D       # Use PT1H for hourly and PT5M for minute level (ingraph metrics) data.
           pValueThreshold: 0.05   # Higher value means more sensitive to small changes.
+          mlConfig: true          # The machine learning auto config to select and maintain the configuration with the best performance.
   filter:                         # Filter out anomalies detected by rules to reduce noise.
     - name: filter_rule_1
       type: PERCENTAGE_CHANGE_FILTER
diff --git a/thirdeye/thirdeye-frontend/tests/integration/pods/components/yaml-editor/component-test.js b/thirdeye/thirdeye-frontend/tests/integration/pods/components/yaml-editor/component-test.js
index ef4037f..26e9492 100644
--- a/thirdeye/thirdeye-frontend/tests/integration/pods/components/yaml-editor/component-test.js
+++ b/thirdeye/thirdeye-frontend/tests/integration/pods/components/yaml-editor/component-test.js
@@ -68,6 +68,6 @@ module('Integration | Component | yaml-editor', function(hooks) {
       }}
     `);
 
-    assert.ok(this.$('.ace_line')[29].children[0].textContent === defaultText);
+    assert.ok(this.$('.ace_line')[30].children[0].textContent === defaultText);
   });
 });


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