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
 
Command line version of RuleGrowth, TRuleGrowth and TopSeqRules
Date: September 04, 2012 04:27PM

Hi,

This post is to share with you the source code and class files for a command line version of RuleGrowth, TRuleGrowth and TopSeqRules for mining sequential rules.

This version can be dowloaded here:

rulegrowth_trulegrowth_topseqrules.zip

This version allows to run the algorithms from the command line. It is very simple to use.

Here is how you can run the three algorithms from the command line:

java MainTestTRuleGrowth contextPrefixSpan.txt output.txt 0.7 0.8 3

java MainTestRuleGrowth contextPrefixSpan.txt output.txt 0.7 0.8

java MainTestTopSeqRules contextPrefixSpan.txt output.txt 10 0.8

The parameters are the same as in the examples on the SPMF website.

This version of RuleGrowth, TRuleGrowth and TopSeqRules also has the particularity of taking sequences of strings as input instead of integers. For example, these are two sequences of strings:

H1 Hn amb bla bla bla
1n 2n 3n ttt abc def

For further information about these algorithms for sequential rule mining, these articles describes them

Fournier-Viger, P., Faghihi, U., Nkambou, R., Mephu Nguifo, E. (2012). CMRules: Mining Sequential Rules Common to Several Sequences. Knowledge-based Systems, Elsevier, 25(1): 63-76.

Fournier-Viger, P., Wu, C.-W., Tseng, V.S., Nkambou, R. (2012). Mining Sequential Rules Common to Several Sequences with the Window Size Constraint. Proceedings of the 25th Canadian Conf. on Artificial Intelligence (AI 2012), Springer, LNAI 7310, pp.299-304

Fournier-Viger, P. & Tseng, V. S. (2011). Mining Top-K Sequential Rules. Proceedings of the 7th Intern. Conf. on Advanced Data Mining and Applications (ADMA 2011). LNAI 7121, Springer, pp.180-194.



Best,

Philippe



Edited 2 time(s). Last edit at 09/04/2012 04:59PM by webmasterphilfv.

Options: ReplyQuote


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