You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Deron Eriksson (JIRA)" <ji...@apache.org> on 2016/12/16 00:40:58 UTC

[jira] [Closed] (SYSTEMML-1154) Transform examples missing quotes

     [ https://issues.apache.org/jira/browse/SYSTEMML-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Deron Eriksson closed SYSTEMML-1154.
------------------------------------

> 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)