[
https://issues.apache.org/jira/browse/SYSTEMML-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deron Eriksson resolved SYSTEMML-1154.
--------------------------------------
Resolution: Fixed
Fix Version/s: SystemML 1.0
Fixed by
https://github.com/apache/incubator-systemml/commit/d2d75739c1a8585c5f1964448bb4b2b52c9941b3
> Transform examples missing quotes
> ---------------------------------
>
> Key: SYSTEMML-1154
> URL: https://issues.apache.org/jira/browse/SYSTEMML-1154
> Project: SystemML
> Issue Type: Bug
> Components: Documentation
> Reporter: Deron Eriksson
> Assignee: Deron Eriksson
> Priority: Minor
> Fix For: SystemML 1.0
>
>
> The following transformencode example in the DML Language Reference is
> missing quotes for the jspec read statement's first argument:
> {code}
> 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");
> [X, M] = transformencode(target=F1, spec=jspec);
> print(toString(X));
> if(1==1){}
> print(toString(M));
> {code}
> The transformdecode example also needs quotes:
> {code}
> 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");
> [X, M] = transformencode(target=F1, spec=jspec);
> F2 = transformdecode(target=X, spec=jspec, meta=M);
> print(toString(F2));
> {code}
> The transformapply example also needs quotes:
> {code}
> 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");
> [X, M] = transformencode(target=F1, spec=jspec);
> X2 = transformapply(target=F1, spec=jspec, meta=M);
> print(toString(X2));
> {code}
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)