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
 
Mining Topk sequential patterns
Posted by: Amina
Date: November 19, 2014 11:31PM

Hello everyone,

I'm using the TKS algorithm and I have two questions:

1) How to specify the minimum length of the extrcated patterns?
2) How to specify that the extrcated patterns must contain some item for example "1"?

Thank you very much.

Options: ReplyQuote
Re: Mining Topk sequential patterns
Date: November 24, 2014 04:31AM

Hi,

Thanks for using TKS, and for requesting features and sorry for the delay to answer your question.

Features 1) and 2) are currently not implemented.

Implementing 1) would be easy. It only requires to add a IF on the size of patterns.

Implementing 2) would be more complicated. How many items must appear in your patterns? If I do a naive implementation it may be simple.

Beside are you using the source code of SPMF or the JAR file?

I will try to do 1) in the next few days. For 2), I may be able to do something but I need to look a little bit at the source code and it depends on your answer to my question.

Best,

Philippe

Options: ReplyQuote
Re: Mining Topk sequential patterns
Posted by: Amina
Date: November 24, 2014 05:28AM

Hi,

Thank you very much for your reply. I am using the jar file and i want to specify 2 items to be included in the extracted patterns.

Best regard,
Amina.

Options: ReplyQuote
Re: Mining Topk sequential patterns
Date: November 29, 2014 07:43PM

Hi,

I have added all the features that you have requested to TKS (minimum pattern length and specifying required items). You may download the new version of SPMF on the website.


Best,

Philippe

Options: ReplyQuote
Re: Mining Topk sequential patterns
Posted by: Amina
Date: November 30, 2014 11:55AM

Hi,

Thank you very much. I have executed the newest version and it works very well.

Best regards.
Amina.

Options: ReplyQuote


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