[
https://issues.apache.org/jira/browse/SYSTEMML-1154?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Deron Eriksson updated SYSTEMML-1154:
-------------------------------------
Description:
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 transform 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}
was:
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}
> 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
>
> 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 transform 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)