Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-11-30 Thread Jayan Vidanapathirana
ev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic > with online data for WSO2 Machine Learner-Samoa Integration > To: Supun Sethunga > Cc: Miyuru Dayarathna , Nirmal Fernando , > Maheshakya Wijewardena , Srinath Perera < > srin...@wso2.com>, Jayan Vidanapathirana , WSO2 > De

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-11-23 Thread Mahesh Dananjaya
fAttributes + " ) " + > "-l > (org.apache.samoa.learners.classifiers.rules.HorizontalAMRulesRegressor " + > "-r 9 -p " + parallelism + ")"; > > > > On Wed, Nov 23, 2016 at 2:40 PM, Jayan Vidanapathirana > wrote: > >&

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-10 Thread Supun Sethunga
Refer: http://stackoverflow.com/questions/31011243/no-configuration-setting-found-for-key-akka-version Regards, Supun On Wed, Aug 10, 2016 at 2:45 PM, Mahesh Dananjaya wrote: > Hi supun, > Now most of the issues have been fixed. But still when i call spark and > try to invoke spark Context this

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-10 Thread Mahesh Dananjaya
Hi supun, Now most of the issues have been fixed. But still when i call spark and try to invoke spark Context this error appears.still this is in the line conf = new SparkConf().setMaster("local[*]").setAppName("Linear Regression Example").set("spark.driver.allowMultipleContexts", "true"); sc = ne

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-08 Thread Supun Sethunga
Hi Mahesh, Couple of issues I noticed: - Your siddhi-extension is using spark 1.6.1 dependency. But in the logs, it says the version of spark is 1.4.1. You can see the following line in the logs. *TID: [-1234] [] [2016-08-08 13:05:11,699] INFO {org.apache.spark.SparkContext} - Running

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-07 Thread Mahesh Dananjaya
Hi supun, I think i have fixed couple of previous errors. Now my samoa extension is working fine with cep. But i am getting a exception with my spark streaming ml extensions. It was working fine and i did not do any changes to my previously developed streaming extensions. This error is occured in t

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-07 Thread Mahesh Dananjaya
Hi Srinath and Nirmal, I have integrated the my samoa predictive analysis topologies with the cep with siddhi extension developed. As you asked me, i have verified the output of my samoa streaming clustering topology with the previously build Spark streaming Clustering analysis. Results are almost

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Nirmal Fernando
Mahesh, Your issue is not clear. What're you exactly trying ? carbon-ml is our git repo and if you mean to say about the server you're running, please use the term 'ML server'. Please summarize the problem and the steps you've done. Please use the point form. Thanks. On Fri, Aug 5, 2016 at 6:43

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Mahesh Dananjaya
Hi Nirmal, can those things be caused by permission requirements? BR, Mahesh. On Fri, Aug 5, 2016 at 5:39 PM, Mahesh Dananjaya wrote: > Hi Nirmal, > Yes i have added samoa dependencies in carbon-ml and it is working fine. > These exceptions are coming for the my classes that are inside ml. when

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Mahesh Dananjaya
Hi Nirmal, Yes i have added samoa dependencies in carbon-ml and it is working fine. These exceptions are coming for the my classes that are inside ml. when i used classes in samoa like org.apache.samoa.tasks.ClusteringEvaluation it is working fine and run. And also same classes that i developed are

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-05 Thread Nirmal Fernando
Did you add samoa jars in ML? On Fri, Aug 5, 2016 at 12:20 PM, Mahesh Dananjaya wrote: > Hi Supun, > This is the error i am getting while run the extension in the cabon-ml > side, > plase reffer to link [1] for the class. > > ERROR {org.wso2.carbon.ml.siddhi.extension.streaming.samoa. > Streamin

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-04 Thread Mahesh Dananjaya
Hi Supun, This is the error i am getting while run the extension in the cabon-ml side, plase reffer to link [1] for the class. ERROR {org.wso2.carbon.ml.siddhi.extension.streaming.samoa.StreamingClusteringTaskBuilder} - Fail to initialize the task java.lang.Exception: Class not found: StreamingC

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-04 Thread Supun Sethunga
Hi Mahesh, samoa dependency version in siddhi-extension should be *0.4.0-incubating-SNAPSHOT*. That should solve the issue Regards, Supun On Thu, Aug 4, 2016 at 11:50 AM, Mahesh Dananjaya wrote: > Hi all, > samoa is in my local repository and dependencies works fine with all other > extensions

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-03 Thread Mahesh Dananjaya
Hi all, samoa is in my local repository and dependencies works fine with all other extensions that add samoa 0.4.0-incubator dependencies. But only when i build carbon-ml, it gives priority for the remote repository for looking samoa. SO any help with this to give priority for local m2 repo before

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-03 Thread Mahesh Dananjaya
Hi supun, We have been using v0.4.0 for the cep integration,since the last verstion is pretty outdated and lack with algorithms for streaming. So i am now using my locally built v0.4.0 for the project. dependencies are working fine, because it has been using on the extensions that we develop outsid

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-03 Thread Miyuru Dayarathna
Adding Jayan to this email thread. -- Thanks, Miyuru Dayarathna Senior Technical Lead Mobile: +94713527783 Blog: http://miyurublog.blogspot.com On Wed, Aug 3, 2016 at 3:11 PM, Supun Sethunga wrote: > Hi Mahesh, > > you should build carbon-ml *without *-U option. -U means you force mvn to > loo

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-03 Thread Supun Sethunga
Hi Mahesh, you should build carbon-ml *without *-U option. -U means you force mvn to look for updates in remote repo. Rather run it with -o option. Also, can you double check whether the dependencies are defined correctly (group Id's, versions etc). Alternatively, it seems there is a samoa releas

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-08-03 Thread Mahesh Dananjaya
Hi Supun, I just neeed a little help. I am in the process of integrating my samoa core functions and extension into carbon-ml's siddhi extension. For samoa i am using locally built samoa project to provide samoa 0.4.0 dependencies,since we dont have it in the maven repo or else where. But when i bu

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-31 Thread Mahesh Dananjaya
Hi Maheshakya, I have a small problem. As we did all the time when i build a samoa streaming extension for the cep by providing samoa dependencies, i put that jar into cep_home/repository/component/lib/ folder.The start cep and try to develop the execution plan by providing my extension. i am remot

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-27 Thread Mahesh Dananjaya
Hi Srinath, "I think this is OK. I assume this is much easier. Let's do this and check the performance", I also think so. I am currently on this and have a progress in this.for your question, "If we use MOA directly, would we loose the distributed support in SAOMA. Let's do a call when you can, so

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-22 Thread Srinath Perera
Hi Mahesh, On Thu, Jul 21, 2016 at 2:10 PM, Mahesh Dananjaya wrote: > Hi All, > I am onto connecting cep streams with samoa streams to data analysis using > samoa framework. To connect samoa with cep siddhi event streams what i we > can do is that try to convert cep streams into samoa streams or

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-21 Thread Mahesh Dananjaya
Hi All, I am onto connecting cep streams with samoa streams to data analysis using samoa framework. To connect samoa with cep siddhi event streams what i we can do is that try to convert cep streams into samoa streams or else writing wrpper for samoa for cep streasm to be used. In both cases i hav

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-17 Thread Mahesh Dananjaya
Hi Maheshakya, Samoa modules built as topologies that connect streams with the internal processors. I have already written some examples to test the ML algorithms and samoa analysis topologies. What we need to done is mostly developing a wrapper around samoa topologies to connect their input and ou

Re: [Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-17 Thread Maheshakya Wijewardena
Hi Mahesh, Can you please share your samoa project? On Sun, Jul 17, 2016 at 11:19 AM, Mahesh Dananjaya < dananjayamah...@gmail.com> wrote: > > -- Forwarded message -- > From: Mahesh Dananjaya > Date: Sun, Jul 17, 2016 at 11:18 AM > Subject: Re: GSOC2016: [ML][CEP] [SAMOA]Predic

[Dev] Fwd: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration

2016-07-16 Thread Mahesh Dananjaya
-- Forwarded message -- From: Mahesh Dananjaya Date: Sun, Jul 17, 2016 at 11:18 AM Subject: Re: GSOC2016: [ML][CEP] [SAMOA]Predictive analytic with online data for WSO2 Machine Learner-Samoa Integration To: Maheshakya Wijewardena Hi Maheshakaya, just need a little help. In Samoa