You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@systemml.apache.org by de...@apache.org on 2017/04/07 18:58:08 UTC

[04/50] [abbrv] incubator-systemml git commit: [SYSTEMML-1154] Transform examples missing quotes

[SYSTEMML-1154] Transform examples missing quotes

The transformencode, transformdecode, and transformapply examples in the DML
Language Reference need quotes on the jspec read functions' first argument.


Project: http://git-wip-us.apache.org/repos/asf/incubator-systemml/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-systemml/commit/a9695eb8
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/a9695eb8
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/a9695eb8

Branch: refs/heads/gh-pages
Commit: a9695eb86fae7f82375d1ee5aace6eea351209cb
Parents: 8b91758
Author: Deron Eriksson <de...@us.ibm.com>
Authored: Thu Dec 15 16:35:32 2016 -0800
Committer: Deron Eriksson <de...@us.ibm.com>
Committed: Thu Dec 15 16:35:32 2016 -0800

----------------------------------------------------------------------
 dml-language-reference.md | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/a9695eb8/dml-language-reference.md
----------------------------------------------------------------------
diff --git a/dml-language-reference.md b/dml-language-reference.md
index 7437423..eefdc44 100644
--- a/dml-language-reference.md
+++ b/dml-language-reference.md
@@ -1694,7 +1694,7 @@ This example replaces values in specific columns to create a recoded matrix with
 The following DML utilizes the `transformencode()` function.
 
     F1 = read("/user/ml/homes.csv", data_type="frame", format="csv");
-    jspec = read(/user/ml/homes.tfspec_recode2.json, data_type="scalar", value_type="string");
+    jspec = read("/user/ml/homes.tfspec_recode2.json", data_type="scalar", value_type="string");
     [X, M] = transformencode(target=F1, spec=jspec);
     print(toString(X));
     if(1==1){}
@@ -1780,7 +1780,7 @@ The <code>transformdecode()</code> function can be used to transform a <code>mat
 The next example takes the outputs from the [transformencode](dml-language-reference.html#transformencode) example and reconstructs the original data using the same transformation specification. 
 
     F1 = read("/user/ml/homes.csv", data_type="frame", format="csv");
-    jspec = read(/user/ml/homes.tfspec_recode2.json, data_type="scalar", value_type="string");
+    jspec = read("/user/ml/homes.tfspec_recode2.json", data_type="scalar", value_type="string");
     [X, M] = transformencode(target=F1, spec=jspec);
     F2 = transformdecode(target=X, spec=jspec, meta=M);
     print(toString(F2));
@@ -1823,7 +1823,7 @@ The following example uses <code>transformapply()</code> with the input matrix a
     }
     
     F1 = read("/user/ml/homes.csv", data_type="frame", format="csv");
-    jspec = read(/user/ml/homes.tfspec_bin2.json, data_type="scalar", value_type="string");
+    jspec = read("/user/ml/homes.tfspec_bin2.json", data_type="scalar", value_type="string");
     [X, M] = transformencode(target=F1, spec=jspec);
     X2 = transformapply(target=F1, spec=jspec, meta=M);
     print(toString(X2));