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 <[email protected]> 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 <[email protected]>
> 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 <[email protected]>
>> 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 <[email protected]>
>>> 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 <[email protected]>
>>>> 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 <
>>>>> [email protected]> 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
>>>>>> [email protected]
>>>>>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>>>>>
>>>>>>
>>>>>
>>>>>
>>>>> --
>>>>> *Ashen Weerathunga*
>>>>> Software Engineer
>>>>> WSO2 Inc.: http://wso2.com
>>>>> lean.enterprise.middleware
>>>>>
>>>>> Email: [email protected]
>>>>> Mobile: tel:94716042995 <94716042995>
>>>>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>>>>> <http://lk.linkedin.com/in/ashenweerathunga>*
>>>>> <http://wso2.com/signature>
>>>>>
>>>>> _______________________________________________
>>>>> Dev mailing list
>>>>> [email protected]
>>>>> 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: [email protected]
>>> Mobile: tel:94716042995 <94716042995>
>>> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
>>> <http://lk.linkedin.com/in/ashenweerathunga>*
>>> <http://wso2.com/signature>
>>>
>>
>>
>>
>> --
>> Undergraduate
>> Faculty of Information Technology
>> University of Moratuwa
>>
>
>
>
> --
> *Ashen Weerathunga*
> Software Engineer
> WSO2 Inc.: http://wso2.com
> lean.enterprise.middleware
>
> Email: [email protected]
> Mobile: tel:94716042995 <94716042995>
> LinkedIn: *http://lk.linkedin.com/in/ashenweerathunga
> <http://lk.linkedin.com/in/ashenweerathunga>*
> <http://wso2.com/signature>
>



-- 
Undergraduate
Faculty of Information Technology
University of Moratuwa
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to