You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Mike Dusenberry (JIRA)" <ji...@apache.org> on 2016/03/25 00:02:25 UTC
[jira] [Resolved] (SYSTEMML-577) Add High-Level "executeScript" API
to Python MLContext
[ https://issues.apache.org/jira/browse/SYSTEMML-577?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Mike Dusenberry resolved SYSTEMML-577.
--------------------------------------
Resolution: Fixed
> 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)