Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2017-03-06 Thread Bhashinee Nirmali
Hi All,

We are using this Markov extension in our final year project. I would like
to improve this extension in a way that it stores the generated Markov
model in a database and to use it after restarting the server. Any
suggestions are appreciated.

Thanks and Regards
Bhashinee

On Wed, Oct 19, 2016 at 3:21 PM, Ashen Weerathunga  wrote:

> Hi Bhashinee,
>
> You can find the source code from here[1].
>
> [1]https://github.com/wso2/siddhi/tree/master/modules/
> siddhi-extensions/markov-models
>
> Best Regards,
> Ashen
>
> On Wed, Oct 19, 2016 at 3:09 PM, Bhashinee Nirmali 
> wrote:
>
>> Hi All,
>>
>> Thank you for the information. I would like to study more about this. Can
>> you please point me to the source code of Markov model extension?
>>
>> Thanks
>>
>> On Tue, Oct 18, 2016 at 1:47 AM, Ashen Weerathunga 
>> wrote:
>>
>>> Hi Tishan,
>>>
>>> We don't have any non-serializable objects and we are currently
>>> using CEP persistence option to persist the state of Markov extension. But
>>> currently, we cannot export the Markov matrix separately as a csv.
>>> Therefore the Markov matrix generated by the extension cannot be used
>>> externally IMO.
>>>
>>> Thanks,
>>> Ashen
>>>
>>> On Tue, Oct 18, 2016 at 12:45 PM, Tishan Dahanayakage 
>>> wrote:
>>>
 Ashen,

 Can't we use CEP persistence option to persist the state of Markov
 extension to file system and re-use? Do we have any non-serializable
 objects?

 /Tishan

 On Tue, Oct 18, 2016 at 12:28 PM, Ashen Weerathunga 
 wrote:

> Hi Bhashinee,
>
> In the current implementation, we are storing the Markov matrix using
> a hashmap. Therefore if you shut down the server it won't be persisted. 
> But
> we have provided a facility to input an already built Markov matrix as a
> CSV file. So in such case, you can use that option to input the matrix
> again and start training. Please refer docs[1] for more details.
>
> [1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859
>
> Best regards,
> Ashen
>
>
> On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali <
> bhashin...@gmail.com> wrote:
>
>> Hi All,
>>
>> I'm trying the Markov Models Extension of WSO2 CEP. I need to know
>> the location where the newly built matrices are stored in. And do I need 
>> to
>> built the matrix again after shutting down the CEP or is the created 
>> matrix
>> still there in the memory?
>>
>> Thanks
>>
>> Undergraduate
>> Faculty of Information Technology
>> University of Moratuwa
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: as...@wso2.com
> Mobile: tel:94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> *
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 Tishan Dahanayakage
 Senior Software Engineer
 WSO2, Inc.
 Mobile:+94 716481328

 Disclaimer: This communication may contain privileged or other
 confidential information and is intended exclusively for the addressee/s.
 If you are not the intended recipient/s, or believe that you may have
 received this communication in error, please reply to the sender indicating
 that fact and delete the copy you received and in addition, you should not
 print, copy, re-transmit, disseminate, or otherwise use the information
 contained in this communication. Internet communications cannot be
 guaranteed to be timely, secure, error or virus-free. The sender does not
 accept liability for any errors or omissions.

>>>
>>>
>>>
>>> --
>>> *Ashen Weerathunga*
>>> Software Engineer
>>> WSO2 Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Email: as...@wso2.com
>>> Mobile: tel:94716042995 <94716042995>
>>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>>> *
>>> 
>>>
>>
>>
>>
>> --
>> Undergraduate
>> Faculty of Information Technology
>> University of Moratuwa
>>
>
>
>
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: as...@wso2.com
> Mobile: tel:94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> *
> 
>



-- 
Undergraduate
Faculty of Information 

Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-19 Thread Ashen Weerathunga
Hi Bhashinee,

You can find the source code from here[1].

[1]
https://github.com/wso2/siddhi/tree/master/modules/siddhi-extensions/markov-models

Best Regards,
Ashen

On Wed, Oct 19, 2016 at 3:09 PM, Bhashinee Nirmali 
wrote:

> Hi All,
>
> Thank you for the information. I would like to study more about this. Can
> you please point me to the source code of Markov model extension?
>
> Thanks
>
> On Tue, Oct 18, 2016 at 1:47 AM, Ashen Weerathunga  wrote:
>
>> Hi Tishan,
>>
>> We don't have any non-serializable objects and we are currently using CEP
>> persistence option to persist the state of Markov extension. But currently,
>> we cannot export the Markov matrix separately as a csv. Therefore the
>> Markov matrix generated by the extension cannot be used externally IMO.
>>
>> Thanks,
>> Ashen
>>
>> On Tue, Oct 18, 2016 at 12:45 PM, Tishan Dahanayakage 
>> wrote:
>>
>>> Ashen,
>>>
>>> Can't we use CEP persistence option to persist the state of Markov
>>> extension to file system and re-use? Do we have any non-serializable
>>> objects?
>>>
>>> /Tishan
>>>
>>> On Tue, Oct 18, 2016 at 12:28 PM, Ashen Weerathunga 
>>> wrote:
>>>
 Hi Bhashinee,

 In the current implementation, we are storing the Markov matrix using a
 hashmap. Therefore if you shut down the server it won't be persisted. But
 we have provided a facility to input an already built Markov matrix as a
 CSV file. So in such case, you can use that option to input the matrix
 again and start training. Please refer docs[1] for more details.

 [1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859

 Best regards,
 Ashen


 On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali <
 bhashin...@gmail.com> wrote:

> Hi All,
>
> I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
> location where the newly built matrices are stored in. And do I need to
> built the matrix again after shutting down the CEP or is the created 
> matrix
> still there in the memory?
>
> Thanks
>
> Undergraduate
> Faculty of Information Technology
> University of Moratuwa
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


 --
 *Ashen Weerathunga*
 Software Engineer
 WSO2 Inc.: http://wso2.com
 lean.enterprise.middleware

 Email: as...@wso2.com
 Mobile: tel:94716042995 <94716042995>
 LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
 *
 

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> Tishan Dahanayakage
>>> Senior Software Engineer
>>> WSO2, Inc.
>>> Mobile:+94 716481328
>>>
>>> Disclaimer: This communication may contain privileged or other
>>> confidential information and is intended exclusively for the addressee/s.
>>> If you are not the intended recipient/s, or believe that you may have
>>> received this communication in error, please reply to the sender indicating
>>> that fact and delete the copy you received and in addition, you should not
>>> print, copy, re-transmit, disseminate, or otherwise use the information
>>> contained in this communication. Internet communications cannot be
>>> guaranteed to be timely, secure, error or virus-free. The sender does not
>>> accept liability for any errors or omissions.
>>>
>>
>>
>>
>> --
>> *Ashen Weerathunga*
>> Software Engineer
>> WSO2 Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> Email: as...@wso2.com
>> Mobile: tel:94716042995 <94716042995>
>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>> *
>> 
>>
>
>
>
> --
> Undergraduate
> Faculty of Information Technology
> University of Moratuwa
>



-- 
*Ashen Weerathunga*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

Email: as...@wso2.com
Mobile: tel:94716042995 <94716042995>
LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-19 Thread Bhashinee Nirmali
Hi All,

Thank you for the information. I would like to study more about this. Can
you please point me to the source code of Markov model extension?

Thanks

On Tue, Oct 18, 2016 at 1:47 AM, Ashen Weerathunga  wrote:

> Hi Tishan,
>
> We don't have any non-serializable objects and we are currently using CEP
> persistence option to persist the state of Markov extension. But currently,
> we cannot export the Markov matrix separately as a csv. Therefore the
> Markov matrix generated by the extension cannot be used externally IMO.
>
> Thanks,
> Ashen
>
> On Tue, Oct 18, 2016 at 12:45 PM, Tishan Dahanayakage 
> wrote:
>
>> Ashen,
>>
>> Can't we use CEP persistence option to persist the state of Markov
>> extension to file system and re-use? Do we have any non-serializable
>> objects?
>>
>> /Tishan
>>
>> On Tue, Oct 18, 2016 at 12:28 PM, Ashen Weerathunga 
>> wrote:
>>
>>> Hi Bhashinee,
>>>
>>> In the current implementation, we are storing the Markov matrix using a
>>> hashmap. Therefore if you shut down the server it won't be persisted. But
>>> we have provided a facility to input an already built Markov matrix as a
>>> CSV file. So in such case, you can use that option to input the matrix
>>> again and start training. Please refer docs[1] for more details.
>>>
>>> [1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859
>>>
>>> Best regards,
>>> Ashen
>>>
>>>
>>> On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali <
>>> bhashin...@gmail.com> wrote:
>>>
 Hi All,

 I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
 location where the newly built matrices are stored in. And do I need to
 built the matrix again after shutting down the CEP or is the created matrix
 still there in the memory?

 Thanks

 Undergraduate
 Faculty of Information Technology
 University of Moratuwa

 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev


>>>
>>>
>>> --
>>> *Ashen Weerathunga*
>>> Software Engineer
>>> WSO2 Inc.: http://wso2.com
>>> lean.enterprise.middleware
>>>
>>> Email: as...@wso2.com
>>> Mobile: tel:94716042995 <94716042995>
>>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>>> *
>>> 
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> Tishan Dahanayakage
>> Senior Software Engineer
>> WSO2, Inc.
>> Mobile:+94 716481328
>>
>> Disclaimer: This communication may contain privileged or other
>> confidential information and is intended exclusively for the addressee/s.
>> If you are not the intended recipient/s, or believe that you may have
>> received this communication in error, please reply to the sender indicating
>> that fact and delete the copy you received and in addition, you should not
>> print, copy, re-transmit, disseminate, or otherwise use the information
>> contained in this communication. Internet communications cannot be
>> guaranteed to be timely, secure, error or virus-free. The sender does not
>> accept liability for any errors or omissions.
>>
>
>
>
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: as...@wso2.com
> Mobile: tel:94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> *
> 
>



-- 
Undergraduate
Faculty of Information Technology
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-18 Thread Ashen Weerathunga
Hi Tishan,

We don't have any non-serializable objects and we are currently using CEP
persistence option to persist the state of Markov extension. But currently,
we cannot export the Markov matrix separately as a csv. Therefore the
Markov matrix generated by the extension cannot be used externally IMO.

Thanks,
Ashen

On Tue, Oct 18, 2016 at 12:45 PM, Tishan Dahanayakage 
wrote:

> Ashen,
>
> Can't we use CEP persistence option to persist the state of Markov
> extension to file system and re-use? Do we have any non-serializable
> objects?
>
> /Tishan
>
> On Tue, Oct 18, 2016 at 12:28 PM, Ashen Weerathunga 
> wrote:
>
>> Hi Bhashinee,
>>
>> In the current implementation, we are storing the Markov matrix using a
>> hashmap. Therefore if you shut down the server it won't be persisted. But
>> we have provided a facility to input an already built Markov matrix as a
>> CSV file. So in such case, you can use that option to input the matrix
>> again and start training. Please refer docs[1] for more details.
>>
>> [1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859
>>
>> Best regards,
>> Ashen
>>
>>
>> On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali > > wrote:
>>
>>> Hi All,
>>>
>>> I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
>>> location where the newly built matrices are stored in. And do I need to
>>> built the matrix again after shutting down the CEP or is the created matrix
>>> still there in the memory?
>>>
>>> Thanks
>>>
>>> Undergraduate
>>> Faculty of Information Technology
>>> University of Moratuwa
>>>
>>> ___
>>> Dev mailing list
>>> Dev@wso2.org
>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>
>>>
>>
>>
>> --
>> *Ashen Weerathunga*
>> Software Engineer
>> WSO2 Inc.: http://wso2.com
>> lean.enterprise.middleware
>>
>> Email: as...@wso2.com
>> Mobile: tel:94716042995 <94716042995>
>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>> *
>> 
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> Tishan Dahanayakage
> Senior Software Engineer
> WSO2, Inc.
> Mobile:+94 716481328
>
> Disclaimer: This communication may contain privileged or other
> confidential information and is intended exclusively for the addressee/s.
> If you are not the intended recipient/s, or believe that you may have
> received this communication in error, please reply to the sender indicating
> that fact and delete the copy you received and in addition, you should not
> print, copy, re-transmit, disseminate, or otherwise use the information
> contained in this communication. Internet communications cannot be
> guaranteed to be timely, secure, error or virus-free. The sender does not
> accept liability for any errors or omissions.
>



-- 
*Ashen Weerathunga*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

Email: as...@wso2.com
Mobile: tel:94716042995 <94716042995>
LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-18 Thread Tishan Dahanayakage
Ashen,

Can't we use CEP persistence option to persist the state of Markov
extension to file system and re-use? Do we have any non-serializable
objects?

/Tishan

On Tue, Oct 18, 2016 at 12:28 PM, Ashen Weerathunga  wrote:

> Hi Bhashinee,
>
> In the current implementation, we are storing the Markov matrix using a
> hashmap. Therefore if you shut down the server it won't be persisted. But
> we have provided a facility to input an already built Markov matrix as a
> CSV file. So in such case, you can use that option to input the matrix
> again and start training. Please refer docs[1] for more details.
>
> [1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859
>
> Best regards,
> Ashen
>
>
> On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali 
> wrote:
>
>> Hi All,
>>
>> I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
>> location where the newly built matrices are stored in. And do I need to
>> built the matrix again after shutting down the CEP or is the created matrix
>> still there in the memory?
>>
>> Thanks
>>
>> Undergraduate
>> Faculty of Information Technology
>> University of Moratuwa
>>
>> ___
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: as...@wso2.com
> Mobile: tel:94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> *
> 
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
Tishan Dahanayakage
Senior Software Engineer
WSO2, Inc.
Mobile:+94 716481328

Disclaimer: This communication may contain privileged or other confidential
information and is intended exclusively for the addressee/s. If you are not
the intended recipient/s, or believe that you may have received this
communication in error, please reply to the sender indicating that fact and
delete the copy you received and in addition, you should not print, copy,
re-transmit, disseminate, or otherwise use the information contained in
this communication. Internet communications cannot be guaranteed to be
timely, secure, error or virus-free. The sender does not accept liability
for any errors or omissions.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-18 Thread Ashen Weerathunga
Hi Bhashinee,

In the current implementation, we are storing the Markov matrix using a
hashmap. Therefore if you shut down the server it won't be persisted. But
we have provided a facility to input an already built Markov matrix as a
CSV file. So in such case, you can use that option to input the matrix
again and start training. Please refer docs[1] for more details.

[1]https://docs.wso2.com/pages/viewpage.action?pageId=56993859

Best regards,
Ashen


On Tue, Oct 18, 2016 at 10:08 AM, Bhashinee Nirmali 
wrote:

> Hi All,
>
> I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
> location where the newly built matrices are stored in. And do I need to
> built the matrix again after shutting down the CEP or is the created matrix
> still there in the memory?
>
> Thanks
>
> Undergraduate
> Faculty of Information Technology
> University of Moratuwa
>
> ___
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Ashen Weerathunga*
Software Engineer
WSO2 Inc.: http://wso2.com
lean.enterprise.middleware

Email: as...@wso2.com
Mobile: tel:94716042995 <94716042995>
LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
*

___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] [Siddhi] [Markov Models Extension] What is the stored location of trained Markov matrices?

2016-10-17 Thread Bhashinee Nirmali
Hi All,

I'm trying the Markov Models Extension of WSO2 CEP. I need to know the
location where the newly built matrices are stored in. And do I need to
built the matrix again after shutting down the CEP or is the created matrix
still there in the memory?

Thanks

Undergraduate
Faculty of Information Technology
University of Moratuwa
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev