[ https://issues.apache.org/jira/browse/SYSTEMML-577?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15211104#comment-15211104 ]
Mike Dusenberry commented on SYSTEMML-577: ------------------------------------------ [PR 91 | https://github.com/apache/incubator-systemml/pull/91] submitted. > Add High-Level "executeScript" API to Python MLContext > ------------------------------------------------------ > > Key: SYSTEMML-577 > URL: https://issues.apache.org/jira/browse/SYSTEMML-577 > Project: SystemML > Issue Type: Improvement > Components: APIs > Reporter: Mike Dusenberry > Assignee: Mike Dusenberry > Priority: Minor > > This adds the {{executeScript(...)}} function to the Python MLContext API, > and in the process hides the need to use {{registerInput(...)}} and > {{registerOutput(...)}} by allowing the user to pass in a dictionary of > key:value inputs of any type, and an array of outputs to keep. > Example: > {code} > pnmf = """ // script here """ > outputs = ml.executeScript(pnmf, {"X": X_train, "maxiter": 100, "rank": 10}, > ["W", "H", "negloglik"]) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)