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 2016/12/16 00:39:08 UTC

incubator-systemml git commit: [SYSTEMML-1154] Transform examples missing quotes

Repository: incubator-systemml
Updated Branches:
  refs/heads/master 57761a768 -> d2d75739c


[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/d2d75739
Tree: http://git-wip-us.apache.org/repos/asf/incubator-systemml/tree/d2d75739
Diff: http://git-wip-us.apache.org/repos/asf/incubator-systemml/diff/d2d75739

Branch: refs/heads/master
Commit: d2d75739c1a8585c5f1964448bb4b2b52c9941b3
Parents: 57761a7
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

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


http://git-wip-us.apache.org/repos/asf/incubator-systemml/blob/d2d75739/docs/dml-language-reference.md
----------------------------------------------------------------------
diff --git a/docs/dml-language-reference.md b/docs/dml-language-reference.md
index 7437423..eefdc44 100644
--- a/docs/dml-language-reference.md
+++ b/docs/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));