Download the source code or binary to reproduce the experiments!
Given the following temporal transaction database: we can mine ordered association rules as follows:
java -jar KAPMiner.jar -minSup 0.2 -minConf 0.3 -input ex1.txt -time -delta 3This will produce the following output:
Rule, support, supportRatio, conf, lift "{1} => {3}",0.400000,0.400000,0.400000,0.400000 "{2} => {1}",0.200000,0.333333,0.333333,0.333333 "{2} => {3}",0.200000,0.333333,0.333333,0.333333 "{2,3} => {1}",0.200000,0.333333,0.333333,0.333333 "{1,2} => {3}",0.200000,0.333333,0.333333,0.333333
Download the datasets used in the experiments using the button below. (The datasets are taken from SPMF: Datasets for Sequential Pattern Mining / Sequential Rule Mining / Sequence Prediction
Note: the -time
argument
should not be used for these datasets.