[ 
https://issues.apache.org/jira/browse/SYSTEMML-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matthias Boehm updated SYSTEMML-2077:
-------------------------------------
    Description: 
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)}}.

  was:This new eval builtin function aims to provide a concise language 
construct to evaluate dynamic expressions and functions.


> 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)

Reply via email to