The Data Mining Forum                             open-source data mining software data mining conferences Data Science for Social and Behavioral Analytics DSSBA 2022 data science journal
IMPORTANT: This is the old Data Mining forum.
I keep it online so that you can read the old messages.

Please post your new messages in the new forum: https://forum2.philippe-fournier-viger.com/index.php
 
time gap in GSP source code
Posted by: eileenfang
Date: March 04, 2019 11:30PM

Hello!
I am using GSP algorithm source code in this website. But I found there is no specific codes to deal with time gaps in mining frequent patterns. In 'SequenceDatabase.java' file, in 'addsequence' function, there is some code about timestamp, but I do not understand it. Can you explain it to me? It is very important to me because I am doing my final year project.
I am looking forward to your reply.
Thank you!
Eileen

Options: ReplyQuote
Re: time gap in GSP source code
Date: March 05, 2019 12:28AM

Hi,

Thanks for using SPMF.

yes the GSP implementation does not consider time gaps. This part of the GSP paper has not been implemented.

If you want to use time gaps with timestamps, you could consider using the Hirate-Yamana algorithm instead (in SPMF).

Or if you want constraints on gaps but do not have timestamps, you could consider the algorithms such as CM-SPAM which offer you to set min gap and max gap constraints when there is no timestamps.

Hope this help

Philippe

Options: ReplyQuote


This forum is powered by Phorum and provided by P. Fournier-Viger (© 2012).
Terms of use.