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.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 ML code base
> when you try those algorithms out. Please try to do rough implementations
> of the streaming versions of linear regression, logistic regression and
> k-means clustering as we have discussed in the proposal in plain Java. It's
> better if you can create a git repo and share your code once you have made
> some progress.
>
> Were you able debug and understand the flow of the ML siddhi extension? I
> hope you haven't encountered more errors after switching the released
> version of CEP.
>
> Is this Friday okay for you? Afternoon at 2:00 pm?
>
> Best regards.
>
>
> Best regards.
>
> [1] http://spark.apache.org/docs/latest/programming-guide.html
> [2] http://spark.apache.org/docs/latest/mllib-guide.html
>
> On Wed, May 4, 2016 at 1:07 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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 <
>> dananjayamah...@gmail.com> wrote:
>>
>>> 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 the
>>> spark/algorithms/ LinearRegrassion.java class in the
>>> org.wso2.carbon.ml.core? is that the correct file?
>>> And also i am planning to write some programs to use apache spark mllib
>>> algorithms. and i refer to [1] and some wso2 documentations to get some
>>> idea about ML structure.thank you.
>>>
>>> BR,
>>> Mahesh.
>>>
>>> [1]nirmalfdo.blogspot.com
>>>
>>> On Tue, May 3, 2016 at 4:36 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 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 reason and come up with a solution, can you use
 the latest CEP release for your work. It's fine to use that since you
 haven't started actual development yet.

 Best regards.

 [1] http://wso2.com/products/complex-event-processor/

 On Tue, May 3, 2016 at 3:19 PM, Maheshakya Wijewardena <
 mahesha...@wso2.com> wrote:

> 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
> meantime, I'll verify whether the current repos are working as expected.
>
> And also i am trying to debug the carbon-ml org.wso2.carbon.ml.core by
>> putting some break point in the spark/algorithms/Linear Regression
>
>
> It's great that you have started looking at the implementation of
> linear regression as well. Put break points in train methods in
> LinearRegression class. This is being used when you run linear regression
> from UI.
>
> I can see some comments left behind for streaming algo as well.thank
>> you
>
>
> You may be referring to the linear regression with SGD model. Here,
> there's no retraining with streaming data involved. The SGD with
> minibatches is used to train the model with the data set only once.
> What you have to do is create a similar mechanism to involve streaming
> data and retrain models. We will get to that part once you get comfortable
> with siddhi extensions.
>
>  BTW, is it possible for you to join a call on this Friday or in the
> next week. We'll try to resolve your current issues and discuss further on
> project.
>
> Best regards.
>
> On Tue, May 3, 2016 at 1:03 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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 

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

2016-05-02 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/releases/4.2.0/
URL those features are not visible in the CEP.Is that not he most recent
one.
BR,
Mahesh.

[1]
https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension

On Mon, May 2, 2016 at 11:28 AM, Mahesh Dananjaya  wrote:

> 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 developed.
> 3. i have set up break point in org.wso2.carbon.ml.siddhi.extension in
> carbon-ml
> 4. start the ./wso2server.sh debug 5005 in the SNAPSHOT directory of
> product-ml
> 5. trying to trigger the break points with the [1] reference.break points
> are placed in the PredictStreamProcessor.java file within the extention.
>
> This is the way i followed. I was trying to remotely debug the ML core by
> putting break-points in ml core.(org.wso2.carbon.ml.core) in spark java
> files. Is this the right way to do those things.
>
> [1]
> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>
> On Mon, May 2, 2016 at 11:19 AM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi maheshakya,
>> 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 developed.
>> 3. i have set up break point in
>>
>>
>> On Thu, Apr 28, 2016 at 7:05 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi Maheshakya,
>>> ok.i got it.thank you.
>>> regards,
>>> Mahesh.
>>>
>>> On Thu, Apr 28, 2016 at 6:56 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> 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 Thu, Apr 28, 2016 at 4:52 PM, Mahesh Dananjaya <
 dananjayamah...@gmail.com> wrote:

> 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 to remotely debug ml 
> and
> as i got it correct it is the same way as reference[1, but not the 
> kernel.I
> can go with others.
> BR,
> mahesh.
>
> [1] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>
> On Mon, Apr 25, 2016 at 5:49 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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
>> extension for predictions [1][2]. Go through this implementation and
>> familiarize your self with that. You need to understand how:
>>
>>1. Even streams are consumed
>>2. predictions are made from individual event
>>3. Results are sent back
>>
>> Get WSO2 ML and CEP sources (You may use latest released version of
>> CEP) and build the products. Get both carbon-ml[3] and product-ml[4]
>> masters and create new branches for your work from masters.
>>
>> After you build the products, you may need to do remote debugging[5]
>> to understand the flow. So please follow an example of real time 
>> prediction
>> with ML with debugging and get some idea. The component you need to debug
>> is org.wso2.carbon.ml.siddhi.extension.
>>
>> Next tasks would be implementing online learning algorithms in plain
>> java with spark ml lib and integrating those to ML. We also need to come 
>> up
>> with a proper and detailed architecture to employ those algorithms in ML.
>> Getting familiar with the aforementioned sections would give you some
>> insight on how this should be implemented.
>>
>> So please try to get a quick grasp then you can start the
>> implementation. Let us know if you have any questions or you get stuck
>> 

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 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 to remotely debug ml and as
> i got it correct it is the same way as reference[1, but not the kernel.I
> can go with others.
> BR,
> mahesh.
>
> [1] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>
> On Mon, Apr 25, 2016 at 5:49 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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 extension
>> for predictions [1][2]. Go through this implementation and familiarize your
>> self with that. You need to understand how:
>>
>>1. Even streams are consumed
>>2. predictions are made from individual event
>>3. Results are sent back
>>
>> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
>> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
>> create new branches for your work from masters.
>>
>> After you build the products, you may need to do remote debugging[5] to
>> understand the flow. So please follow an example of real time prediction
>> with ML with debugging and get some idea. The component you need to debug
>> is org.wso2.carbon.ml.siddhi.extension.
>>
>> Next tasks would be implementing online learning algorithms in plain java
>> with spark ml lib and integrating those to ML. We also need to come up with
>> a proper and detailed architecture to employ those algorithms in ML.
>> Getting familiar with the aforementioned sections would give you some
>> insight on how this should be implemented.
>>
>> So please try to get a quick grasp then you can start the implementation.
>> Let us know if you have any questions or you get stuck somewhere.
>>
>> Also, please always add WSO2 developer's list as well when you
>> communicate with us regarding the project so that you can get opinions and
>> feedback from others as well.
>>
>> Best regards.
>>
>> [1]
>> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>>
>> [2]
>> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>>
>> [3] https://github.com/wso2/carbon-ml
>>
>> [4] https://github.com/wso2/product-ml
>>
>> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>>
>>
>> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi,
>>> thank you for accepting my GSOC 2016 proposal and i am looking forward
>>> for the further instruction and project continuation. thank you very much.
>>> regards,
>>> Mahesh.
>>>
>>> --
>> Pruthuvi Maheshakya Wijewardena
>> mahesha...@wso2.com
>> +94711228855
>>
>>
>>
>


-- 
Pruthuvi Maheshakya Wijewardena
mahesha...@wso2.com
+94711228855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 to remotely debug ml and as
i got it correct it is the same way as reference[1, but not the kernel.I
can go with others.
BR,
mahesh.

[1] https://dzone.com/articles/how-debug-wso2-carbon-kernel

On Mon, Apr 25, 2016 at 5:49 PM, Maheshakya Wijewardena  wrote:

> 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 extension for
> predictions [1][2]. Go through this implementation and familiarize your
> self with that. You need to understand how:
>
>1. Even streams are consumed
>2. predictions are made from individual event
>3. Results are sent back
>
> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
> create new branches for your work from masters.
>
> After you build the products, you may need to do remote debugging[5] to
> understand the flow. So please follow an example of real time prediction
> with ML with debugging and get some idea. The component you need to debug
> is org.wso2.carbon.ml.siddhi.extension.
>
> Next tasks would be implementing online learning algorithms in plain java
> with spark ml lib and integrating those to ML. We also need to come up with
> a proper and detailed architecture to employ those algorithms in ML.
> Getting familiar with the aforementioned sections would give you some
> insight on how this should be implemented.
>
> So please try to get a quick grasp then you can start the implementation.
> Let us know if you have any questions or you get stuck somewhere.
>
> Also, please always add WSO2 developer's list as well when you communicate
> with us regarding the project so that you can get opinions and feedback
> from others as well.
>
> Best regards.
>
> [1]
> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>
> [2]
> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>
> [3] https://github.com/wso2/carbon-ml
>
> [4] https://github.com/wso2/product-ml
>
> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>
>
> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi,
>> thank you for accepting my GSOC 2016 proposal and i am looking forward
>> for the further instruction and project continuation. thank you very much.
>> regards,
>> Mahesh.
>>
>> --
> Pruthuvi Maheshakya Wijewardena
> mahesha...@wso2.com
> +94711228855
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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
> ML has built fine. But there is error when i was trying to build the CEP. i
> cloned it yesterday.i have attached the build report here.can you please
> check this and give me some tips.thank you.
>
> On Wed, Apr 27, 2016 at 4:05 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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 oracle jdk if the above
>> doesn't work and try again.
>>
>> Best regards.
>> [1] http://askubuntu.com/questions/178712/how-to-increase-swap-space
>>
>> On Wed, Apr 27, 2016 at 2:32 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> 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:MaxPermSize=1200m". But it seems to be some memory constriant.i got
>>> followings.
>>>
>>>
>>> ERROR
>>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>>> MaxPermSize=256m; support was removed in 8.0
>>> ERROR
>>> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
>>> Java HotSpot(TM) 64-Bit Server VM warning: INFO:
>>> os::commit_memory(0xf400, 157286400, 0) failed; error='Cannot
>>> allocate memory' (errno=12)
>>>
>>> I have been using Ubuntu 14.04 LTS with 4GB ram.So how can i fix this
>>> issue.  And i got similar kind of error when i was trying to build the wso2
>>> product-ml. i have attached the detailes of the error i got in this mail.
>>> Do i need to set up some additional environemtn variables to fix this.
>>> BR,
>>> Mahesh.
>>>
>>>
>>>
>>>
>>> On Wed, Apr 27, 2016 at 1:51 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 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 you make sure that you extract
 product-cep/modules/distribution/target/wso2cep-4.1.1-SNAPSHOT.zip and run
 the server in wso2cep-4.1.1-SNAPSHOT/bin/ with ./wso2server.sh

 Best regards.

 On Wed, Apr 27, 2016 at 12:43 PM, Sriskandarajah Suhothayan <
 s...@wso2.com> wrote:

> 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 will be working with
> components having snapshots versions.
>
> Regards
> Suho
>
> On Wed, Apr 27, 2016 at 12:33 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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/distribution
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>> MaxPermSize=256m; support was removed in 8.0
>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>> java.lang.ClassNotFoundException:
>> org.apache.juli.ClassLoaderLogManager
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at java.util.logging.LogManager$1.run(LogManager.java:195)
>> at java.util.logging.LogManager$1.run(LogManager.java:181)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.util.logging.LogManager.(LogManager.java:181)
>> at java.util.logging.Logger.demandLogger(Logger.java:448)
>> at java.util.logging.Logger.getLogger(Logger.java:502)

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 oracle jdk if the above
doesn't work and try again.

Best regards.
[1] http://askubuntu.com/questions/178712/how-to-increase-swap-space

On Wed, Apr 27, 2016 at 2:32 PM, Mahesh Dananjaya  wrote:

> 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:MaxPermSize=1200m". But it seems to be some memory constriant.i got
> followings.
>
>
> ERROR
> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=256m; support was removed in 8.0
> ERROR
> [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader] -
> Java HotSpot(TM) 64-Bit Server VM warning: INFO:
> os::commit_memory(0xf400, 157286400, 0) failed; error='Cannot
> allocate memory' (errno=12)
>
> I have been using Ubuntu 14.04 LTS with 4GB ram.So how can i fix this
> issue.  And i got similar kind of error when i was trying to build the wso2
> product-ml. i have attached the detailes of the error i got in this mail.
> Do i need to set up some additional environemtn variables to fix this.
> BR,
> Mahesh.
>
>
>
>
> On Wed, Apr 27, 2016 at 1:51 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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 you make sure that you extract
>> product-cep/modules/distribution/target/wso2cep-4.1.1-SNAPSHOT.zip and run
>> the server in wso2cep-4.1.1-SNAPSHOT/bin/ with ./wso2server.sh
>>
>> Best regards.
>>
>> On Wed, Apr 27, 2016 at 12:43 PM, Sriskandarajah Suhothayan <
>> s...@wso2.com> wrote:
>>
>>> 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 will be working with
>>> components having snapshots versions.
>>>
>>> Regards
>>> Suho
>>>
>>> On Wed, Apr 27, 2016 at 12:33 PM, Mahesh Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 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/distribution
 Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
 MaxPermSize=256m; support was removed in 8.0
 Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
 java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
 at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
 at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
 at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
 at java.util.logging.LogManager$1.run(LogManager.java:195)
 at java.util.logging.LogManager$1.run(LogManager.java:181)
 at java.security.AccessController.doPrivileged(Native Method)
 at java.util.logging.LogManager.(LogManager.java:181)
 at java.util.logging.Logger.demandLogger(Logger.java:448)
 at java.util.logging.Logger.getLogger(Logger.java:502)
 at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
 at
 sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:814)
 at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
 at sun.management.Agent.startAgent(Agent.java:260)
 at sun.management.Agent.startAgent(Agent.java:447)
 Error: Could not find or load main class
 org.wso2.carbon.bootstrap.Bootstrap

 do i need some additional libraries there?Is it allright to go wit the
 [2] as we will be doing changes to source.
 BR,
 Mahesh.


 On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <
 mahesha...@wso2.com> wrote:

> You don't need to build the kernel. You can build either current
> master of product-cep[1] or you 

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:MaxPermSize=1200m". But it seems to be some memory constriant.i got
followings.


ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0
ERROR [org.wso2.carbon.automation.extensions.servers.utils.ServerLogReader]
- Java HotSpot(TM) 64-Bit Server VM warning: INFO:
os::commit_memory(0xf400, 157286400, 0) failed; error='Cannot
allocate memory' (errno=12)

I have been using Ubuntu 14.04 LTS with 4GB ram.So how can i fix this
issue.  And i got similar kind of error when i was trying to build the wso2
product-ml. i have attached the detailes of the error i got in this mail.
Do i need to set up some additional environemtn variables to fix this.
BR,
Mahesh.




On Wed, Apr 27, 2016 at 1:51 PM, Maheshakya Wijewardena  wrote:

> 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 you make sure that you extract
> product-cep/modules/distribution/target/wso2cep-4.1.1-SNAPSHOT.zip and run
> the server in wso2cep-4.1.1-SNAPSHOT/bin/ with ./wso2server.sh
>
> Best regards.
>
> On Wed, Apr 27, 2016 at 12:43 PM, Sriskandarajah Suhothayan  > wrote:
>
>> 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 will be working with
>> components having snapshots versions.
>>
>> Regards
>> Suho
>>
>> On Wed, Apr 27, 2016 at 12:33 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> 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/distribution
>>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>>> MaxPermSize=256m; support was removed in 8.0
>>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>>> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
>>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>>> at java.util.logging.LogManager$1.run(LogManager.java:195)
>>> at java.util.logging.LogManager$1.run(LogManager.java:181)
>>> at java.security.AccessController.doPrivileged(Native Method)
>>> at java.util.logging.LogManager.(LogManager.java:181)
>>> at java.util.logging.Logger.demandLogger(Logger.java:448)
>>> at java.util.logging.Logger.getLogger(Logger.java:502)
>>> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>>> at
>>> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:814)
>>> at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
>>> at sun.management.Agent.startAgent(Agent.java:260)
>>> at sun.management.Agent.startAgent(Agent.java:447)
>>> Error: Could not find or load main class
>>> org.wso2.carbon.bootstrap.Bootstrap
>>>
>>> do i need some additional libraries there?Is it allright to go wit the
>>> [2] as we will be doing changes to source.
>>> BR,
>>> Mahesh.
>>>
>>>
>>> On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 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 Dananjaya <
 dananjayamah...@gmail.com> wrote:

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

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 you make sure that you extract
product-cep/modules/distribution/target/wso2cep-4.1.1-SNAPSHOT.zip and run
the server in wso2cep-4.1.1-SNAPSHOT/bin/ with ./wso2server.sh

Best regards.

On Wed, Apr 27, 2016 at 12:43 PM, Sriskandarajah Suhothayan 
wrote:

> 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 will be working with
> components having snapshots versions.
>
> Regards
> Suho
>
> On Wed, Apr 27, 2016 at 12:33 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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/distribution
>> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
>> MaxPermSize=256m; support was removed in 8.0
>> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
>> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
>> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
>> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
>> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
>> at java.util.logging.LogManager$1.run(LogManager.java:195)
>> at java.util.logging.LogManager$1.run(LogManager.java:181)
>> at java.security.AccessController.doPrivileged(Native Method)
>> at java.util.logging.LogManager.(LogManager.java:181)
>> at java.util.logging.Logger.demandLogger(Logger.java:448)
>> at java.util.logging.Logger.getLogger(Logger.java:502)
>> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
>> at
>> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:814)
>> at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
>> at sun.management.Agent.startAgent(Agent.java:260)
>> at sun.management.Agent.startAgent(Agent.java:447)
>> Error: Could not find or load main class
>> org.wso2.carbon.bootstrap.Bootstrap
>>
>> do i need some additional libraries there?Is it allright to go wit the
>> [2] as we will be doing changes to source.
>> BR,
>> Mahesh.
>>
>>
>> On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <
>> mahesha...@wso2.com> wrote:
>>
>>> 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 Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 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 Wijewardena <
 mahesha...@wso2.com> wrote:

> 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
> extension for predictions [1][2]. Go through this implementation and
> familiarize your self with that. You need to understand how:
>
>1. Even streams are consumed
>2. predictions are made from individual event
>3. Results are sent back
>
> Get WSO2 ML and CEP sources (You may use latest released version of
> CEP) and build the products. Get both carbon-ml[3] and product-ml[4]
> masters and create new branches for your work from masters.
>
> After you build the products, you may need to do remote debugging[5]
> to understand the flow. So please follow an example of real time 
> prediction
> with ML with debugging and get some idea. The component you need to debug
> is org.wso2.carbon.ml.siddhi.extension.
>
> Next tasks would be implementing online learning algorithms in plain
> java with spark ml lib and integrating those 

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 will be working with
components having snapshots versions.

Regards
Suho

On Wed, Apr 27, 2016 at 12:33 PM, Mahesh Dananjaya <
dananjayamah...@gmail.com> wrote:

> 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/distribution
> Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
> MaxPermSize=256m; support was removed in 8.0
> Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
> java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
> at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
> at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
> at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
> at java.util.logging.LogManager$1.run(LogManager.java:195)
> at java.util.logging.LogManager$1.run(LogManager.java:181)
> at java.security.AccessController.doPrivileged(Native Method)
> at java.util.logging.LogManager.(LogManager.java:181)
> at java.util.logging.Logger.demandLogger(Logger.java:448)
> at java.util.logging.Logger.getLogger(Logger.java:502)
> at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
> at
> sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:814)
> at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
> at sun.management.Agent.startAgent(Agent.java:260)
> at sun.management.Agent.startAgent(Agent.java:447)
> Error: Could not find or load main class
> org.wso2.carbon.bootstrap.Bootstrap
>
> do i need some additional libraries there?Is it allright to go wit the [2]
> as we will be doing changes to source.
> BR,
> Mahesh.
>
>
> On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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 Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> 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 Wijewardena <
>>> mahesha...@wso2.com> wrote:
>>>
 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 extension
 for predictions [1][2]. Go through this implementation and familiarize your
 self with that. You need to understand how:

1. Even streams are consumed
2. predictions are made from individual event
3. Results are sent back

 Get WSO2 ML and CEP sources (You may use latest released version of
 CEP) and build the products. Get both carbon-ml[3] and product-ml[4]
 masters and create new branches for your work from masters.

 After you build the products, you may need to do remote debugging[5] to
 understand the flow. So please follow an example of real time prediction
 with ML with debugging and get some idea. The component you need to debug
 is org.wso2.carbon.ml.siddhi.extension.

 Next tasks would be implementing online learning algorithms in plain
 java with spark ml lib and integrating those to ML. We also need to come up
 with a proper and detailed architecture to employ those algorithms in ML.
 Getting familiar with the aforementioned sections would give you some
 insight on how this should be implemented.

 So please try to get a quick grasp then you can start the
 implementation. Let us know if you have any questions or you get stuck
 somewhere.

 Also, please always add WSO2 developer's list as well when you
 communicate with us regarding the project so that you can get opinions and
 feedback from others as well.

 Best regards.

 [1]
 

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/distribution
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option
MaxPermSize=256m; support was removed in 8.0
Could not load Logmanager "org.apache.juli.ClassLoaderLogManager"
java.lang.ClassNotFoundException: org.apache.juli.ClassLoaderLogManager
at java.net.URLClassLoader.findClass(URLClassLoader.java:381)
at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:331)
at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
at java.util.logging.LogManager$1.run(LogManager.java:195)
at java.util.logging.LogManager$1.run(LogManager.java:181)
at java.security.AccessController.doPrivileged(Native Method)
at java.util.logging.LogManager.(LogManager.java:181)
at java.util.logging.Logger.demandLogger(Logger.java:448)
at java.util.logging.Logger.getLogger(Logger.java:502)
at com.sun.jmx.remote.util.ClassLogger.(ClassLogger.java:55)
at
sun.management.jmxremote.ConnectorBootstrap.(ConnectorBootstrap.java:814)
at sun.management.Agent.startLocalManagementAgent(Agent.java:138)
at sun.management.Agent.startAgent(Agent.java:260)
at sun.management.Agent.startAgent(Agent.java:447)
Error: Could not find or load main class org.wso2.carbon.bootstrap.Bootstrap

do i need some additional libraries there?Is it allright to go wit the [2]
as we will be doing changes to source.
BR,
Mahesh.


On Wed, Apr 27, 2016 at 12:17 PM, Maheshakya Wijewardena <
mahesha...@wso2.com> wrote:

> 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 Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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 Wijewardena <
>> mahesha...@wso2.com> wrote:
>>
>>> 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 extension
>>> for predictions [1][2]. Go through this implementation and familiarize your
>>> self with that. You need to understand how:
>>>
>>>1. Even streams are consumed
>>>2. predictions are made from individual event
>>>3. Results are sent back
>>>
>>> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
>>> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
>>> create new branches for your work from masters.
>>>
>>> After you build the products, you may need to do remote debugging[5] to
>>> understand the flow. So please follow an example of real time prediction
>>> with ML with debugging and get some idea. The component you need to debug
>>> is org.wso2.carbon.ml.siddhi.extension.
>>>
>>> Next tasks would be implementing online learning algorithms in plain
>>> java with spark ml lib and integrating those to ML. We also need to come up
>>> with a proper and detailed architecture to employ those algorithms in ML.
>>> Getting familiar with the aforementioned sections would give you some
>>> insight on how this should be implemented.
>>>
>>> So please try to get a quick grasp then you can start the
>>> implementation. Let us know if you have any questions or you get stuck
>>> somewhere.
>>>
>>> Also, please always add WSO2 developer's list as well when you
>>> communicate with us regarding the project so that you can get opinions and
>>> feedback from others as well.
>>>
>>> Best regards.
>>>
>>> [1]
>>> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>>>
>>> [2]
>>> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>>>
>>> [3] https://github.com/wso2/carbon-ml
>>>
>>> [4] https://github.com/wso2/product-ml
>>>
>>> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>>>
>>>
>>> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 Hi,
 thank you for accepting my GSOC 2016 proposal and i am looking forward
 for the further instruction and project 

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

2016-04-27 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...@wso2.com> wrote:

> 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 Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> 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 Wijewardena <
>> mahesha...@wso2.com> wrote:
>>
>>> 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 extension
>>> for predictions [1][2]. Go through this implementation and familiarize your
>>> self with that. You need to understand how:
>>>
>>>1. Even streams are consumed
>>>2. predictions are made from individual event
>>>3. Results are sent back
>>>
>>> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
>>> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
>>> create new branches for your work from masters.
>>>
>>> After you build the products, you may need to do remote debugging[5] to
>>> understand the flow. So please follow an example of real time prediction
>>> with ML with debugging and get some idea. The component you need to debug
>>> is org.wso2.carbon.ml.siddhi.extension.
>>>
>>> Next tasks would be implementing online learning algorithms in plain
>>> java with spark ml lib and integrating those to ML. We also need to come up
>>> with a proper and detailed architecture to employ those algorithms in ML.
>>> Getting familiar with the aforementioned sections would give you some
>>> insight on how this should be implemented.
>>>
>>> So please try to get a quick grasp then you can start the
>>> implementation. Let us know if you have any questions or you get stuck
>>> somewhere.
>>>
>>> Also, please always add WSO2 developer's list as well when you
>>> communicate with us regarding the project so that you can get opinions and
>>> feedback from others as well.
>>>
>>> Best regards.
>>>
>>> [1]
>>> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>>>
>>> [2]
>>> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>>>
>>> [3] https://github.com/wso2/carbon-ml
>>>
>>> [4] https://github.com/wso2/product-ml
>>>
>>> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>>>
>>>
>>> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
>>> dananjayamah...@gmail.com> wrote:
>>>
 Hi,
 thank you for accepting my GSOC 2016 proposal and i am looking forward
 for the further instruction and project continuation. thank you very much.
 regards,
 Mahesh.

 --
>>> Pruthuvi Maheshakya Wijewardena
>>> mahesha...@wso2.com
>>> +94711228855
>>>
>>>
>>>
>>
>
>
> --
> Pruthuvi Maheshakya Wijewardena
> mahesha...@wso2.com
> +94711228855
>
>
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 

*S. Suhothayan*
Technical Lead & Team Lead of WSO2 Complex Event Processor
*WSO2 Inc. *http://wso2.com
* *
lean . enterprise . middleware


*cell: (+94) 779 756 757 | blog: http://suhothayan.blogspot.com/
twitter: http://twitter.com/suhothayan
 | linked-in:
http://lk.linkedin.com/in/suhothayan *
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-04-27 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 Dananjaya <
dananjayamah...@gmail.com> wrote:

> 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 Wijewardena <
> mahesha...@wso2.com> wrote:
>
>> 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 extension
>> for predictions [1][2]. Go through this implementation and familiarize your
>> self with that. You need to understand how:
>>
>>1. Even streams are consumed
>>2. predictions are made from individual event
>>3. Results are sent back
>>
>> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
>> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
>> create new branches for your work from masters.
>>
>> After you build the products, you may need to do remote debugging[5] to
>> understand the flow. So please follow an example of real time prediction
>> with ML with debugging and get some idea. The component you need to debug
>> is org.wso2.carbon.ml.siddhi.extension.
>>
>> Next tasks would be implementing online learning algorithms in plain java
>> with spark ml lib and integrating those to ML. We also need to come up with
>> a proper and detailed architecture to employ those algorithms in ML.
>> Getting familiar with the aforementioned sections would give you some
>> insight on how this should be implemented.
>>
>> So please try to get a quick grasp then you can start the implementation.
>> Let us know if you have any questions or you get stuck somewhere.
>>
>> Also, please always add WSO2 developer's list as well when you
>> communicate with us regarding the project so that you can get opinions and
>> feedback from others as well.
>>
>> Best regards.
>>
>> [1]
>> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>>
>> [2]
>> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>>
>> [3] https://github.com/wso2/carbon-ml
>>
>> [4] https://github.com/wso2/product-ml
>>
>> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>>
>>
>> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
>> dananjayamah...@gmail.com> wrote:
>>
>>> Hi,
>>> thank you for accepting my GSOC 2016 proposal and i am looking forward
>>> for the further instruction and project continuation. thank you very much.
>>> regards,
>>> Mahesh.
>>>
>>> --
>> Pruthuvi Maheshakya Wijewardena
>> mahesha...@wso2.com
>> +94711228855
>>
>>
>>
>


-- 
Pruthuvi Maheshakya Wijewardena
mahesha...@wso2.com
+94711228855
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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

2016-04-27 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 Wijewardena  wrote:

> 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 extension for
> predictions [1][2]. Go through this implementation and familiarize your
> self with that. You need to understand how:
>
>1. Even streams are consumed
>2. predictions are made from individual event
>3. Results are sent back
>
> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
> create new branches for your work from masters.
>
> After you build the products, you may need to do remote debugging[5] to
> understand the flow. So please follow an example of real time prediction
> with ML with debugging and get some idea. The component you need to debug
> is org.wso2.carbon.ml.siddhi.extension.
>
> Next tasks would be implementing online learning algorithms in plain java
> with spark ml lib and integrating those to ML. We also need to come up with
> a proper and detailed architecture to employ those algorithms in ML.
> Getting familiar with the aforementioned sections would give you some
> insight on how this should be implemented.
>
> So please try to get a quick grasp then you can start the implementation.
> Let us know if you have any questions or you get stuck somewhere.
>
> Also, please always add WSO2 developer's list as well when you communicate
> with us regarding the project so that you can get opinions and feedback
> from others as well.
>
> Best regards.
>
> [1]
> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>
> [2]
> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>
> [3] https://github.com/wso2/carbon-ml
>
> [4] https://github.com/wso2/product-ml
>
> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>
>
> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi,
>> thank you for accepting my GSOC 2016 proposal and i am looking forward
>> for the further instruction and project continuation. thank you very much.
>> regards,
>> Mahesh.
>>
>> --
> Pruthuvi Maheshakya Wijewardena
> mahesha...@wso2.com
> +94711228855
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


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 Mon, Apr 25, 2016 at 6:04 PM, Maheshakya Wijewardena  wrote:

> 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 extension for
> predictions [1][2]. Go through this implementation and familiarize your
> self with that. You need to understand how:
>
>1. Even streams are consumed
>2. predictions are made from individual event
>3. Results are sent back
>
> Get WSO2 ML and CEP sources (You may use latest released version of CEP)
> and build the products. Get both carbon-ml[3] and product-ml[4] masters and
> create new branches for your work from masters.
>
> After you build the products, you may need to do remote debugging[5] to
> understand the flow. So please follow an example of real time prediction
> with ML with debugging and get some idea. The component you need to debug
> is org.wso2.carbon.ml.siddhi.extension.
>
> Next tasks would be implementing online learning algorithms in plain java
> with spark ml lib and integrating those to ML. We also need to come up with
> a proper and detailed architecture to employ those algorithms in ML.
> Getting familiar with the aforementioned sections would give you some
> insight on how this should be implemented.
>
> So please try to get a quick grasp then you can start the implementation.
> Let us know if you have any questions or you get stuck somewhere.
>
> Also, please always add WSO2 developer's list as well when you communicate
> with us regarding the project so that you can get opinions and feedback
> from others as well.
>
> Best regards.
>
> [1]
> https://docs.wso2.com/display/ML110/WSO2+CEP+Extension+for+ML+Predictions#WSO2CEPExtensionforMLPredictions-Siddhisyntaxfortheextension
>
> [2]
> https://github.com/wso2/carbon-ml/tree/master/components/extensions/org.wso2.carbon.ml.siddhi.extension
>
> [3] https://github.com/wso2/carbon-ml
>
> [4] https://github.com/wso2/product-ml
>
> [5] https://dzone.com/articles/how-debug-wso2-carbon-kernel
>
>
> On Mon, Apr 25, 2016 at 3:33 PM, Mahesh Dananjaya <
> dananjayamah...@gmail.com> wrote:
>
>> Hi,
>> thank you for accepting my GSOC 2016 proposal and i am looking forward
>> for the further instruction and project continuation. thank you very much.
>> regards,
>> Mahesh.
>>
>> --
> Pruthuvi Maheshakya Wijewardena
> mahesha...@wso2.com
> +94711228855
>
>
>
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev