You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@systemml.apache.org by "Manoj Kumar (JIRA)" <ji...@apache.org> on 2016/06/03 19:04:59 UTC

[jira] [Created] (SYSTEMML-751) Support functions as arguments

Manoj Kumar created SYSTEMML-751:
------------------------------------

             Summary: Support functions as arguments
                 Key: SYSTEMML-751
                 URL: https://issues.apache.org/jira/browse/SYSTEMML-751
             Project: SystemML
          Issue Type: Wish
            Reporter: Manoj Kumar


Hi,

How difficult is it to support functions as arguments? (If not done already)

One real use-case would be to just implement a modular lbfgs, newton-cg etc as in (http://docs.scipy.org/doc/scipy/reference/generated/scipy.optimize.fmin.html#scipy.optimize.fmin)

I believe this lessens burden on code maintenance and brings in new users, because every time I implement a new algorithm, I just need to check that my function (and gradient) implementation is correct.

I ultimately would like to do this.

source("lbfgs.dml") as lbfgs

f = loss_function() {
}

w = lbfgs::optimize()



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