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] [Created] (SYSTEMML-902) Improve FrameObject toString output
Date Thu, 08 Sep 2016 22:25:21 GMT
Deron Eriksson created SYSTEMML-902:
---------------------------------------

             Summary: 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


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