systemml-issues mailing list archives

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


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:
>             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 (,
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

View raw message