You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Niketan Pansare (JIRA)" <ji...@apache.org> on 2016/09/29 17:58:20 UTC

[jira] [Created] (SYSTEMML-976) Add explain and stats option to Python DSL

Niketan Pansare created SYSTEMML-976:
----------------------------------------

             Summary: Add explain and stats option to Python DSL
                 Key: SYSTEMML-976
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-976
             Project: SystemML
          Issue Type: Sub-task
          Components: APIs
            Reporter: Niketan Pansare


This would allow users to see the plans and statistics for a given evaluation of Python DSL. Since this is a starter task, I would give some hints:
1. Extend "def eval(outputs, outputDF=False, execute=True):" method to accept explain and statistics options and pass them before "results = matrix.ml.execute(matrix.script)".
Here are the relevant links:
https://github.com/apache/incubator-systemml/blob/master/src/main/python/systemml/defmatrix.py#L290
https://github.com/apache/incubator-systemml/blob/master/src/main/python/systemml/mlcontext.py#L223

2. Expose these options through user facing APIs: eval() and methods that invoke eval (such as toPandas, toNumPyArray, toDataFrame, etc)

3. Update the documentation: https://apache.github.io/incubator-systemml/beginners-guide-python




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