systemml-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Matthias Boehm (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (SYSTEMML-2077) New eval builtin function
Date Thu, 22 Feb 2018 20:13:00 GMT

    [ https://issues.apache.org/jira/browse/SYSTEMML-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16373367#comment-16373367
] 

Matthias Boehm commented on SYSTEMML-2077:
------------------------------------------

thanks for your interest [~Guobao] - I updated the description to provide some more details.
This task can indeed lay some foundations for SYSTEMML-2083 because both would deal with second-order
functions (that take functions as arguments).

> New eval builtin function
> -------------------------
>
>                 Key: SYSTEMML-2077
>                 URL: https://issues.apache.org/jira/browse/SYSTEMML-2077
>             Project: SystemML
>          Issue Type: Sub-task
>            Reporter: Matthias Boehm
>            Priority: Major
>
> This new eval builtin function aims to provide a concise language construct to evaluate
dynamic expressions and functions.
> Similar to R's eval function (https://stat.ethz.ch/R-manual/R-devel/library/base/html/eval.html),
this would allow us to evaluate dynamically constructed expressions. There are two major sub
tasks here: the invocation of given function pointers and the evaluation of dynamic expressions
given as strings. Initially, we would focus on the former by allowing call such as {{R = eval(fname,
A, B, C)}}. So far SystemML does not provide second-order functions which requires explicit
{{if-else}} conditions for ensemble learning workloads. With this new {{eval}} function we
could store a list of function names in a frame {{F}} and dynamically call them via {{R[i,
] = eval(F[i,1], A, B, C)}}.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Mime
View raw message