You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Glenn Weidner (JIRA)" <ji...@apache.org> on 2017/03/03 21:25:45 UTC

[jira] [Updated] (SYSTEMML-1173) DataExpression and StringIdentifier toString readability

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

Glenn Weidner updated SYSTEMML-1173:
------------------------------------
    Fix Version/s:     (was: SystemML 1.0)
                   SystemML 0.13

> DataExpression and StringIdentifier toString readability
> --------------------------------------------------------
>
>                 Key: SYSTEMML-1173
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-1173
>             Project: SystemML
>          Issue Type: Improvement
>          Components: Parser
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>            Priority: Minor
>             Fix For: SystemML 0.13
>
>
> Improve readability of StringIdentifier and DataExpression toString methods.
> For example, A = matrix("1 2 3 4 5 6", rows=3, cols=2) results in a DMLProgram that contains:
> {code}
> A = RAND(,lambda=1.0,min=1 2 3 4 5 6,pdf=uniform,seed=-1,max=1 2 3 4 5 6,sparsity=1.0,rows=3,cols=2 );
> {code}
> The extraneous first comma within RAND is confusing. Additionally, the string '1 2 3 4 5 6' is not surrounded by quotes, which affects readability.
> Readability is improved if the toStrings are modified to produce output such as the following:
> {code}
> A = RAND(lambda=1.0, min='1 2 3 4 5 6', pdf='uniform', seed=-1, max='1 2 3 4 5 6', sparsity=1.0, rows=3, cols=2);
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)