fp-growth
fp-growth copied to clipboard
can not output when applying to latitude
OS: Ubuntu 16.04 64bit fpgrowth version 1.0, installed by pip install pyfpgrowth in virtualenv python3.5 I want use pyfpgrowth to mining trajectory latitude data, such as 41.804068 41.802275 41.802275 41.802383 41.802383 41.802383 41.802756 41.802756 41.802756 41.802756 41.802756 41.802756 41.802756 41.80275 41.80275 41.80275 41.80275 41.80275 41.80275 input:8 pieces of gps location latitude data, with length 52, 44,39,72, 41, 40, 164, 189. program is patterns = pyfpgrowth.find_frequent_patterns(transactions, 2) rules = pyfpgrowth.generate_association_rules(patterns, 0.7) It used out 32GB memory, run in single thread, lasting 16 hours and still can not output , then I kill the process. Could anyone tell me how to do? I would appreciate for your valuable suggestion.