systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Deron Eriksson (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (SYSTEMML-902) Improve FrameObject toString output
Date Fri, 09 Sep 2016 20:29:20 GMT

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

Deron Eriksson resolved SYSTEMML-902.
-------------------------------------
       Resolution: Fixed
    Fix Version/s: SystemML 0.11

Fixed by [PR237|https://github.com/apache/incubator-systemml/pull/237].

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

Mime
View raw message