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/09/10 18:05:20 UTC

[jira] [Commented] (SYSTEMML-902) Improve FrameObject toString output

    [ https://issues.apache.org/jira/browse/SYSTEMML-902?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15480177#comment-15480177 ] 

Deron Eriksson commented on SYSTEMML-902:
-----------------------------------------

toString moved to CacheableData in commit [4d5fc9...|https://github.com/apache/incubator-systemml/commit/4d5fc9d16f73984f1ab11ad069fff029cd37b23e].

> Improve FrameObject toString output
> -----------------------------------
>
>                 Key: SYSTEMML-902
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-902
>             Project: SystemML
>          Issue Type: Improvement
>          Components: APIs
>            Reporter: Deron Eriksson
>            Assignee: Deron Eriksson
>             Fix For: SystemML 0.11
>
>
> Currently FrameObject uses the default toString() implementation. It would be good to override toString() in FrameObject, similar to how MatrixObject overrides toString().
> For example, using the MLContext API, if we currently output a MatrixObject and a FrameObject, it looks similar to the following:
> {code}
> scala> val res = ml.execute(dmlScript)
> res: org.apache.sysml.api.mlcontext.MLResults = 
>   [1] (Matrix) tA: Matrix: scratch_space//_p7667_9.31.117.12//_t0/tA_290, [3 x 2, nnz=6, blocks (1000 x 1000)], binaryblock, dirty
>   [2] (Frame) tAM: org.apache.sysml.runtime.controlprogram.caching.FrameObject@6c6c4579
> {code}
> The MatrixObject provides useful information via toString whereas FrameObject doesn't.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)