ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From niva...@apache.org
Subject [1/2] ignite git commit: Quick fix for regression in tracer utility.
Date Thu, 18 May 2017 03:26:36 GMT
Repository: ignite
Updated Branches:
  refs/heads/master 794e1d364 -> 4e75e14a1


Quick fix for regression in tracer utility.


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/475eda0b
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/475eda0b
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/475eda0b

Branch: refs/heads/master
Commit: 475eda0bb670e66a377f8872caef295574a4685a
Parents: a0fc6ee
Author: Nikita Ivanov <nivanov30@gmail.com>
Authored: Wed May 17 20:25:30 2017 -0700
Committer: Nikita Ivanov <nivanov30@gmail.com>
Committed: Wed May 17 20:25:30 2017 -0700

----------------------------------------------------------------------
 .../apache/ignite/ml/math/d3-matrix-template.html  | 17 ++++-------------
 .../apache/ignite/ml/math/d3-vector-template.html  | 15 ++++-----------
 2 files changed, 8 insertions(+), 24 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/475eda0b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-matrix-template.html
----------------------------------------------------------------------
diff --git a/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-matrix-template.html
b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-matrix-template.html
index 19a907a..0639f07 100644
--- a/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-matrix-template.html
+++ b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-matrix-template.html
@@ -44,19 +44,10 @@
 <img style="margin-top: 15px" width="100px" src="https://ignite.apache.org/images/logo3.png">
 <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.5.0/d3.min.js"></script>
 <script>
-    /*@DATA@*/
-    var data = [[{d: 2.256, r: 198, g: 128, b: 128}, {d: 0.123, r: 218, g: 228, b: 18}],
[{
-        d: 2.256,
-        r: 108,
-        g: 28,
-        b: 108
-    }, {d: 0.123, r: 228, g: 228, b: 228}]];
-    /*@MAX@*/
-    var max = {d: 2.256, r: 128, g: 128, b: 128};
-    /*@MIN@*/
-    var min = {d: 0.123, r: 228, g: 228, b: 228};
-    /*@NAME@*/
-    var name = "Matrix";
+    /*@DATA@*/var data = [[{d: 2.256, r: 198, g: 128, b: 128}, {d: 0.123, r: 218, g: 228,
b: 18}], [{d: 2.256, r: 108, g: 28, b: 108}, {d: 0.123, r: 228, g: 228, b: 228}]];
+    /*@MAX@*/var max = {d: 2.256, r: 128, g: 128, b: 128};
+    /*@MIN@*/var min = {d: 0.123, r: 228, g: 228, b: 228};
+    /*@NAME@*/var name = "Matrix";
 
     var rows = data.length;
     var cols = data[0].length;

http://git-wip-us.apache.org/repos/asf/ignite/blob/475eda0b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-vector-template.html
----------------------------------------------------------------------
diff --git a/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-vector-template.html
b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-vector-template.html
index 7644481..9593e86 100644
--- a/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-vector-template.html
+++ b/modules/ml/src/main/resources/org/apache/ignite/ml/math/d3-vector-template.html
@@ -44,21 +44,14 @@
 <img style="margin-top: 15px" width="100px" src="https://ignite.apache.org/images/logo3.png">
 <script src="https://cdnjs.cloudflare.com/ajax/libs/d3/4.5.0/d3.min.js"></script>
 <script>
-    /*@DATA@*/
-    var data = [{d: 2.256, r: 128, g: 128, b: 128}, {d: 0.123, r: 228, g: 228, b: 228}];
-    /*@MAX@*/
-    var max = {d: 2.256, r: 128, g: 128, b: 128};
-    /*@MIN@*/
-    var min = {d: 0.123, r: 228, g: 228, b: 228};
-    /*@NAME@*/
-    var name = "Vector";
+    /*@DATA@*/var data = [{d: 2.256, r: 128, g: 128, b: 128}, {d: 0.123, r: 228, g: 228,
b: 228}];
+    /*@MAX@*/var max = {d: 2.256, r: 128, g: 128, b: 128};
+    /*@MIN@*/var min = {d: 0.123, r: 228, g: 228, b: 228};
+    /*@NAME@*/var name = "Vector";
 
     var W, H = 1000;
-
     var range = max.d - min.d;
-
     var rh = 20; // Constant.
-
     var rw;
 
     if (data.length > W) {


Mime
View raw message