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,

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

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

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

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

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

[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