Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-10 Thread Maheshakya Wijewardena
Hi Mahesh, Any update on your progress? Best regards. On Wed, May 4, 2016 at 8:35 PM, Maheshakya Wijewardena wrote: > Hi Mahesh, > > is that "Put break points in train methods in Linear Regression class" >> means the spark/algorithms/ LinearRegrassion.java class in the >> org.wso2.carbon.ml.co

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-04 Thread Maheshakya Wijewardena
Hi Mahesh, is that "Put break points in train methods in Linear Regression class" > means the spark/algorithms/ LinearRegrassion.java class in the > org.wso2.carbon.ml.core? is that the correct file? Yes, this is the correct place. You can refer to spark programming guide[1][2] as well as our M

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-04 Thread Mahesh Dananjaya
Hi Maheshakya, I have been looking into some algorithms related to stochastic gradient descent based algorithms.anything i should focus please let me know.Ans also i will be available for calling this week and next week.thank you. BR, Mahesh. On Tue, May 3, 2016 at 5:05 PM, Mahesh Dananjaya wrote

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-03 Thread Mahesh Dananjaya
Hi Maheshakya, thank you.that's good. i have been trying to fix that for couple of days. please inform me when it will be fixed.now i have been testing the ML algorithms and trying to identify the flow and the hierarchy. is that "Put break points in train methods in Linear Regression class" means t

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-03 Thread Maheshakya Wijewardena
Hi Mahesh, I have checked. It seems the issue you have encountered is cause only in the current development branch of the product-cep. It doesn't identify the ML siddhi extension as an extension. ML siddhi extension works fine in the latest release of CEP (4.1.0) [1]. Until we figure out the reaso

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-03 Thread Maheshakya Wijewardena
Hi Mahesh, > Is is vital to use those local repo in my upcoming implementation? Yes. The remote p2-repo contains the p2-repos of released versions. What you have to develop on is the current master of the carbon-ml and product-ml. You can try out with the modification I have suggested. In the m

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-03 Thread Mahesh Dananjaya
Hi maheshakya, Is it ok to go with p2 repo at http://product-dist.wso2.com/p2/carbon/releases/wilkes/features/ rather than the P2-repo at product-ml/modules/p2-profile/target/p2-repo in local repo.What is the impact?.Is is vital to use those local repo in my upcoming implementation?so i was trying

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Maheshakya Wijewardena
Hi Mahesh, The earlier error you have mentioned may occur due to the incompatible Siddhi versions in ML p2-repo and CEP, when you add the p2-repo from prodcut-ml you built. Current siddhi version in product-cep is 3.0.6-SNAPSHOT[1], but in ML it's 3.0.2. Can you try changing the siddhi.version in

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Mahesh Dananjaya
Hi Maheshakya, now i remotely debug the CEP extension for ML Prediction. What i did was, i have all the pre-build version of CEP and ML. Therefore i used that built CEP and did the same thing that i was doing with the source code. I think the only change i did was install those packages from remote

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Mahesh Dananjaya
Hi Maheshakya, I did several changes. i generated the ml model and then start the cep.and also i changed the expression to relevant location of the model as, from InputStream#ml:predict('registry:/home/mahesh/GSOC/WSO2/product-ml/modules/distribution/target/wso2ml-2.0.0-SNAPSHOT/models/PimaIndian.

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Maheshakya Wijewardena
> > from > InputStream#ml:predict('file:///home/mahesh/GSOC/WSO2/data-set/pima-indian-diabetes.data','double') > Moreover, you have to point to the trained model, not the dataset. You can find the trained models in {ML_HOME}/models/ folder. On Mon, May 2, 2016 at 3:33 PM, Maheshakya Wijewardena

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Maheshakya Wijewardena
Hi Mahesh, You don't have to concern about the distributed mode in CEP at this moment. CEP, by default does not run in distributed mode. In the documentation, please ignore the sections about distributed CEP and Storm for now. Are you able to see ML commons, ML core, ML data services and ML siddh

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-02 Thread Maheshakya Wijewardena
Hi Mahesh, If you have built product-ml, you can find the P2-repo at product-ml/modules/p2-profile/target/p2-repo Add this folder as a local repository. After that, you should be able to see the ML features. Best regards. On Mon, May 2, 2016 at 12:24 PM, Mahesh Dananjaya wrote: > Hi Maheshakya

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-01 Thread Mahesh Dananjaya
Hi Maheshakya, Since i already have carbon-ml built in my pc can i use my local repository to install those features in to CEP.is that correct.thank you. regards, Mahesh. On Mon, May 2, 2016 at 12:20 PM, Mahesh Dananjaya wrote: > Hi Maheshakya, > Can you please tell me how to find the most recen

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-01 Thread Mahesh Dananjaya
Hi Maheshakya, Can you please tell me how to find the most recent p2 repository URL to add machine learner Core, Machine learner commons, Machine learner database service and ML Siddhi extension to add as features in CEP as describes in the [1]. When i use http://product-dist.wso2.com/p2/carbon/rel

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-01 Thread Mahesh Dananjaya
Hi Maheshakya, sorry for the incomplete message.I have set up the dev environment and now i am trying to remotely debug. The following steps were done. 1. build product-cep, carbon-ml and product-ml by source. 2. go through their code bases and trying to understand the way and the flow you develope

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-05-01 Thread Maheshakya Wijewardena
Hi Mahesh, How is the progress? Were you able to follow through the ML siddhi extension? Best regards. On Thu, Apr 28, 2016 at 7:05 PM, Mahesh Dananjaya wrote: > Hi Maheshakya, > ok.i got it.thank you. > regards, > Mahesh. > > On Thu, Apr 28, 2016 at 6:56 PM, Maheshakya Wijewardena < > mahesha

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-28 Thread Mahesh Dananjaya
Hi Maheshakya, ok.i got it.thank you. regards, Mahesh. On Thu, Apr 28, 2016 at 6:56 PM, Maheshakya Wijewardena wrote: > Hi Mahesh, > > The links was an example of remote debugging WSO2 server. What you need to > debug is org.wso2.carbon.ml.siddhi.extension in carbon-ml. > > Best regards. > > On

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-28 Thread Maheshakya Wijewardena
Hi Mahesh, The links was an example of remote debugging WSO2 server. What you need to debug is org.wso2.carbon.ml.siddhi.extension in carbon-ml. Best regards. On Thu, Apr 28, 2016 at 4:52 PM, Mahesh Dananjaya wrote: > Hi Maheshakya, > thank you for your help.i have already built all three sour

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-28 Thread Mahesh Dananjaya
Hi Maheshakya, thank you for your help.i have already built all three sources and now i am trying to get familiar with your code base. i even build the carbon-kernel by source. As you mentioned [1] is related to debug the kernel, do i really need to debug the carbon kernel in my case. I am trying

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-28 Thread Sriskandarajah Suhothayan
Thats fine for now we are fixing some issues try after new update now. Even a tests failed the pack has got built. Suho On Thu, Apr 28, 2016 at 12:23 PM, Mahesh Dananjaya < dananjayamah...@gmail.com> wrote: > Hi Suho, > There was a memeory problem and i fixed that one,thanks to meheshakya.Now >

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Maheshakya Wijewardena
The error you see usually doesn't relate to a Java heap limit issue, but the OS actually running out of memory. Can you try closing every other process while building these products and make sure the memory usage is low or add more swap space[1]. Are you using open-jdk? If so, can you switch to or

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Mahesh Dananjaya
Hi suho, Thanl you for the information. In the initial build i used mvn "mvn clean install -Dmaven.test.skip=true", thats why i did not get errors.But this time i built with mvn clean build and i got some errors in test stage.i have already set up MAVEN_OPTS as MAVEN_OPTS="-Xms768m -Xms3072m -XX:Ma

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Maheshakya Wijewardena
Hi Mahesh, As Suho mentioned, if you have successfully built with tests, then there shouldn't be an issue. However, in the error you've stated, it seems there's problem with carbon home: > CARBON_HOME environment variable is set to > /home/mahesh/GSOC/WSO2/product-cep/modules/distribution > Can

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Sriskandarajah Suhothayan
If your build has passed, then it should not be an issue. When building the the tests should have ran. Is that so? please verify. During that server should have started and stopped. I think there is some issue in the way you have started the CEP. You should be able to build the products as you wi

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-27 Thread Mahesh Dananjaya
Hi Maheshakya, I am trying to build the CEP by sourceas [1].it was built without errors.But when i run the ./wso2server.sh i got his error JAVA_HOME environment variable is set to /usr/local/java/jdk1.8.0_51 CARBON_HOME environment variable is set to /home/mahesh/GSOC/WSO2/product-cep/modules/dis

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-26 Thread Sriskandarajah Suhothayan
I believe we will also end up writing some Siddhi extensions, hence please get the source of Siddhi[1] and build that as well. Siddhi is the Processing Engine used within CEP. Regards Suho [1]https://github.com/wso2/siddhi On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena < mahesha...@wso

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-26 Thread Maheshakya Wijewardena
You don't need to build the kernel. You can build either current master of product-cep[1] or you can download the latest release from [2]. Best regards. [1] https://github.com/wso2/product-cep [2] http://wso2.com/products/complex-event-processor/ On Wed, Apr 27, 2016 at 12:09 PM, Mahesh Dananjay

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-26 Thread Mahesh Dananjaya
Hi maheshakya, Do we need to build carbon kernal by source before we build CEP by source ( https://github.com/wso2/carbon-kernel ) .Or is it inside those sources.i am trying to build all three sources after forked them.thank you. regards, Mahesh On Mon, Apr 25, 2016 at 5:49 PM, Maheshakya Wijewa

Re: [Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-25 Thread Mahesh Dananjaya
Hi Maheshakya, thank you. give me couple of days to set up the environment. I have already all three things. I will get latest one and start to work on the above things. I will let you know the progress. meanwhile if you are i am available in boh skype and hangout.thank you. regards, Mahesh. On Mo

[Dev] GSOC2016: [ML][CEP] Predictive analytic with online data for WSO2 Machine Learner

2016-04-25 Thread Maheshakya Wijewardena
Hi Mahesh, Congratulations and welcome to GSoC 2016. You did a great job in preparing the proposal. Now it's time to dig deep and get started with the project. First of all you need to familiarize with the code base. We have agreed to implement this with CEP event streams. We already have a CEP e