You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@lens.apache.org by "Sharad Agarwal (JIRA)" <ji...@apache.org> on 2014/12/24 06:35:13 UTC

[jira] [Updated] (LENS-153) Add examples execution to ML

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

Sharad Agarwal updated LENS-153:
--------------------------------
    Attachment: Lens-153.patch

WIP patch.
- added MLRunner class that takes ml conf dir as input and creates the train and test table, run the MLTask and put the result in output table
- added TestMLRunner test case
- added lens-run-class.sh script to lens client. it can be used to execute any class main method
- updated the conf-pseudo-distr conf to include settings for ML service
- added LENS_EXT_CLASSPATH variable that gets included in the lens client and server class path
- updated docker to set LENS_EXT_CLASSPATH from ml libs

Ran the patch using:
bin/lens-run-class.sh org.apache.lens.ml.MLRunner $LENS_ML/data/naive_bayes --conf $LENS_CLIENT_CONF

currently it fails due to LENS-154

> Add examples execution to ML
> ----------------------------
>
>                 Key: LENS-153
>                 URL: https://issues.apache.org/jira/browse/LENS-153
>             Project: Apache Lens
>          Issue Type: New Feature
>          Components: ml
>            Reporter: Sharad Agarwal
>            Assignee: Sharad Agarwal
>         Attachments: Lens-153.patch
>
>
> Create a utility that can read the ml params, test table etc from the conf and execute it via a script



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