DATA MINING
Desktop Survival Guide by Graham Williams |
|||||
apriori |
Association rules are discovered using the apriori algorithm. The input data file contains transactions, one per line, each transaction containing items, separated by space (or optionally commas, or any other character). A sample input file, shopping.tab, is:
milk bread |
To generate the association rules:
% apriori shopping.tab shopping.rules |