[jira] [Commented] (SYSTEMML-2077) New eval builtin function

2018-02-23 Thread Matthias Boehm (JIRA)

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

Matthias Boehm commented on SYSTEMML-2077:
--

These classes are automatically generated by ANTLR and hence not checked into 
the repo. Please, just run {{mvn package}} this will also call the parser 
generator - once you have these generated files you can simply rely on the 
incremental compile of your IDE.

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


[jira] [Commented] (SYSTEMML-2077) New eval builtin function

2018-02-23 Thread LI Guobao (JIRA)

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

LI Guobao commented on SYSTEMML-2077:
-

Hi [~mboehm7], I have a problem of compiling the code. I wanted to launch a 
test in the class MLContextTest. And I found the errors of compilation because 
of the missing classes such as PydmlParser, DmlParser etc... And I saw that 
they were excluded in the file .gitignore. So how can I compile the code for 
launch a test?

Regards,
Guobao

 

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


[jira] [Commented] (SYSTEMML-2077) New eval builtin function

2018-02-22 Thread Matthias Boehm (JIRA)

[ 
https://issues.apache.org/jira/browse/SYSTEMML-2077?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel=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)


[jira] [Commented] (SYSTEMML-2077) New eval builtin function

2018-02-22 Thread LI Guobao (JIRA)

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

LI Guobao commented on SYSTEMML-2077:
-

Hello,

Can you give me some information about how the function "eval" works in real 
case? I'd like to take this ticket.

Regards,
Guobao

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



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