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/08 22:25:21 UTC
[jira] [Created] (SYSTEMML-902) Improve FrameObject toString output
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)