Open chriskwanmy opened 6 years ago
You wouldn't need to create a new .py
file, but your use case may differ depending on your transactions data. The file miner.py
expects a transactions data file with one transaction per row, where each transaction is a series of space-separated integers, and each integer represents the ID of an item (in a hypothetical grocery store, for example). Then you can change the support parameter and set size as you see fit. If I get around to fixing this up, I would use argparse
to clean up the command line usage.
Please, should I create a new .py and paste "python miner.py "./transactions.dat" "./frequent_itemsets.txt" 50 5" and run it?